Rakefile in sensible-cinema-0.20.1 vs Rakefile in sensible-cinema-0.20.5

- old
+ new

@@ -73,17 +73,18 @@ Dir.chdir 'vendor/cache' do dependencies.each{|d| system("#{Gem.ruby} -S gem unpack #{d.name}") } to_here = "jruby-complete-1.5.5.jar" + p 'do you need to delete your old jruby complete...do you?' unless File.exist? to_here - url = "/downloads/1.5.6/jruby-complete-1.5.6.jar" + url = "/downloads/1.6.0.RC1/jruby-complete-1.6.0.RC1.jar" puts 'downloading in jruby-complete.jar file ' + url # jruby complete .jar file Net::HTTP.start("jruby.org.s3.amazonaws.com") { |http| resp = http.get(url) - puts 'copying it... ' + puts 'copying jruby complete in... ' open(to_here, "wb") { |file| file.write(resp.body) } } end @@ -123,19 +124,22 @@ task 'deploy' do name = 'sensible-cinema-' + File.read('VERSION').strip + ".zip" p 'copying in' raise unless system("scp #{name} rdp@ilab1.cs.byu.edu:~/incoming") p 'copying over' - raise unless system("ssh rdp@ilab1.cs.byu.edu \"scp ~/incoming/#{name} wilkboar@myfavoritepal.com:~/www/rogerdpackt28/sensible-cinema\"") + raise unless system("ssh rdp@ilab1.cs.byu.edu \"scp ~/incoming/#{name} wilkboar@freemusicformormons.com:~/www/rogerdpackt28/sensible-cinema\"") end desc 'j -S rake bundle_dependencies create_distro_dir ... (releases with clean cache dir, which we need now)' task 'full_release' => [:bundle_dependencies, :create_distro_dir, :build] do # :release sigh + system("cp -r vendor/cache ../cache.bak") gems = Dir['pkg/*.gem'] gems[0..-2].each{|f| File.delete f} # kill old versions... system("#{Gem.ruby} -S gem push #{gems[-1]}") FileUtils.rm_rf 'pkg' Rake::Task["zip"].execute Rake::Task["deploy"].execute system("git push origin master") + system("cp -r ../cache.bak/* vendor/cache") + puts "don't forget to blog about it...and upload .zip of it..." end \ No newline at end of file