Clean before building any Gem.

This commit is contained in:
Yorick Peterse 2014-11-17 23:28:57 +01:00
parent 922cee913d
commit ae17e7f137
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
namespace :build do
desc 'Builds a new Gem'
task :gem => [:build] do
task :gem => [:clean, :build] do
Rake::Task['checksum'].invoke
end
desc 'Builds a new Java Gem'
task :java => [:clean] do
task :java do
sh 'chruby-exec jruby -- rake build:gem'
end