Skip to content

Commit

Permalink
TODO: implement Rakefile :release task!
Browse files Browse the repository at this point in the history
  • Loading branch information
joaotavora committed Feb 26, 2012
1 parent d608b66 commit af81a55
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,8 @@ task :package do
end

desc "create a release package and upload it to google code"
task :release => [:bundle, :package, 'doc:archive'] do
sh "googlecode_upload.py -s \"YASnippet Release #{$version}\"" +
" -p yasnippet -l \"Featured,Type-Package,OpSys-All\"" +
" pkg/yasnippet-#{$version}.tar.bz2"
sh "googlecode_upload.py -s \"YASnippet Bundle #{$version}\"" +
" -p yasnippet -l \"Featured,Type-Package,OpSys-All\"" +
" pkg/yasnippet-bundle-#{$version}.el.tgz"
sh "googlecode_upload.py -s \"YASnippet Document #{$version}\"" +
" -p yasnippet -l \"Featured,Type-Docs,OpSys-All\"" +
" pkg/yasnippet-doc-#{$version}.tar.bz2"
FileUtils.cp "yasnippet-bundle.el", "pkg/yasnippet-bundle-#{$version}.el"
sh "echo for ELPA | mutt -a pkg/yasnippet-bundle-#{$version}.el -s " +
"'YASnippet bundle v#{$version}' elpa@tromey.com"
task :release => [:package, 'doc:archive'] do
raise "Not implemented for github yet!"
end

rule '.html' => '.rst' do |t|
Expand Down

0 comments on commit af81a55

Please sign in to comment.