Rake tasks for building multi-platform Gems.

This commit is contained in:
Yorick Peterse 2014-09-15 22:18:28 +02:00
parent 9959f5cda4
commit bd322e8716
1 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,16 @@
desc 'Builds a new Gem and its checksum' namespace :build do
task :signed_build => [:build] do desc 'Builds a new Gem'
task :gem => [:build] do
Rake::Task['checksum'].invoke Rake::Task['checksum'].invoke
end
desc 'Builds a new Java Gem'
task :java => [:clean] do
sh 'chruby-exec jruby -- rake build:gem'
end
desc 'Builds all Gems'
task :all => [:gem, :java]
end end
task :build => [:generate] task :build => [:generate]