From ae17e7f137a9004fe37a6926cb664c34f0de21c5 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Mon, 17 Nov 2014 23:28:57 +0100 Subject: [PATCH] Clean before building any Gem. --- task/build.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/task/build.rake b/task/build.rake index 261ffae..6b378bc 100644 --- a/task/build.rake +++ b/task/build.rake @@ -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