Rakefile in sensible-cinema-0.24.9 vs Rakefile in sensible-cinema-0.25.0

- old
+ new

@@ -155,20 +155,26 @@ Rake::Task["build"].execute sys("#{Gem.ruby} -S gem push pkg/sensible-cinema-#{cur_ver}.gem") FileUtils.rm_rf 'pkg' end -task 'update wbo' do +def on_wbo command + sys "ssh rdp@ilab1.cs.byu.edu \"ssh wilkboar@rogerdpack.t28.net '#{command}' \"" end +task 'update wbo' do + on_wbo 'cd ~/sensible-cinema/source && git pull' +end + desc ' (releases with clean cache dir, which we need now)' task 'full_release' => [:clear_and_copy_vendor_cache, :rebundle_copy_in_dependencies, :create_distro_dir] do # this is :release p 'remember to run all the specs first!' raise unless system("git pull") raise unless system("git push origin master") Rake::Task["gem_release"].execute Rake::Task["zip"].execute Rake::Task["deploy"].execute + Rake::Task["update wbo"].execute system(c = "cp -r ../cache.bak/* vendor/cache") system("rm -rf ../cache.bak") end