Rakefile in sensible-cinema-0.23.0 vs Rakefile in sensible-cinema-0.23.1

- old
+ new

@@ -7,12 +7,13 @@ s.name = "sensible-cinema" s.summary = "an EDL scene-selector/bleeper that works with online players like hulu" s.email = "rogerdpack@gmail.com" s.homepage = "http://github.com/rdp" s.authors = ["Roger Pack"] + s.add_dependency 'os', '>= 0.9.3' s.add_dependency 'sane', '>= 0.22.0' - s.add_dependency 'rdp-win32screenshot', '>= 0.0.7.3' # was 0.8.0 ? + s.add_dependency 'rdp-win32screenshot', '>= 0.0.7.3' s.add_dependency 'mini_magick', '>= 3.1' # for ocr... s.add_dependency 'whichr', '>= 0.3.6' s.add_dependency 'jruby-win32ole' s.add_dependency 'rdp-ruby-wmi' # windows s.add_dependency 'plist' # mac @@ -122,22 +123,16 @@ end task 'deploy' do name = 'sensible-cinema-' + cur_ver + ".zip" p 'copying to ilab' - sys("scp #{name} rdp@ilab1.cs.byu.edu:~/incoming") + sys "scp #{name} rdp@ilab1.cs.byu.edu:~/incoming" p 'creating sf dir' + sys "ssh rdp@ilab1.cs.byu.edu 'ssh -t rogerdpack,sensible-cinema@shell.sourceforge.net create'" # needed for the next command to work. sys "ssh rdp@ilab1.cs.byu.edu 'ssh rogerdpack,sensible-cinema@shell.sourceforge.net \"mkdir /home/frs/project/s/se/sensible-cinema/#{cur_ver}\"'" p 'copying into sf' sys "ssh rdp@ilab1.cs.byu.edu 'scp ~/incoming/#{name} rogerdpack,sensible-cinema@frs.sourceforge.net:/home/frs/project/s/se/sensible-cinema/#{cur_ver}/#{name}'" - p 'copying over to rogerd...' - # ugh ugh ughly - c = "ssh rdp@ilab1.cs.byu.edu \"scp ~/incoming/#{name} wilkboar@freemusicformormons.com:~/www/rogerdpackt28/sensible-cinema/releases\"" - sys(c) - p 'linking rogerd...' - sys("ssh rdp@ilab1.cs.byu.edu 'ssh wilkboar@freemusicformormons.com \\\"rm \\\\~/www/rogerdpackt28/sensible-cinema/releases/latest-sensible-cinema.zip\\\"'") - sys("ssh rdp@ilab1.cs.byu.edu 'ssh wilkboar@freemusicformormons.com \\\"ln -s \\~/www/rogerdpackt28/sensible-cinema/releases/#{name} \\\\~/www/rogerdpackt28/sensible-cinema/releases/latest-sensible-cinema.zip\\\"'") - p 'successfully deployed! ' + cur_ver + p 'successfully deployed to sf only! ' + cur_ver end task 'gem_release' do FileUtils.rm_rf 'pkg' Rake::Task["build"].execute