You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespace :loc do
desc 'git clone LOC marc2bibframe2 (if it does not exist already)'
task :clone_marc2bibframe2 do
on roles(:web) do
cmd = "cd #{shared_path} && "
cmd += "if [ ! -d loc_marc2bibframe2 ]; then "
cmd += " git clone https://github.com/lcnetdev/marc2bibframe2.git loc_marc2bibframe2; "
cmd += "fi"
execute cmd
end
end
desc 'git pull master for LOC marc2bibframe2'
task update_marc2bibframe2: :clone_marc2bibframe2 do
on roles(:web) do
execute "cd #{shared_path}/loc_marc2bibframe2 && git pull origin master"
end
end
end
The text was updated successfully, but these errors were encountered:
Example to be modified as needed:
The text was updated successfully, but these errors were encountered: