diff --git a/task/build.rake b/task/build.rake index 3186d95..261ffae 100644 --- a/task/build.rake +++ b/task/build.rake @@ -1,6 +1,16 @@ -desc 'Builds a new Gem and its checksum' -task :signed_build => [:build] do - Rake::Task['checksum'].invoke +namespace :build do + desc 'Builds a new Gem' + task :gem => [:build] do + 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 task :build => [:generate]