Clean before building any Gem.
This commit is contained in:
parent
922cee913d
commit
ae17e7f137
|
@ -1,11 +1,11 @@
|
||||||
namespace :build do
|
namespace :build do
|
||||||
desc 'Builds a new Gem'
|
desc 'Builds a new Gem'
|
||||||
task :gem => [:build] do
|
task :gem => [:clean, :build] do
|
||||||
Rake::Task['checksum'].invoke
|
Rake::Task['checksum'].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Builds a new Java Gem'
|
desc 'Builds a new Java Gem'
|
||||||
task :java => [:clean] do
|
task :java do
|
||||||
sh 'chruby-exec jruby -- rake build:gem'
|
sh 'chruby-exec jruby -- rake build:gem'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue