Rakefile in assaf-buildr-1.3.3 vs Rakefile in assaf-buildr-1.3.4
- old
+ new
@@ -26,11 +26,13 @@
desc 'Compile Java libraries used by Buildr'
task 'compile' do
puts 'Compiling Java libraries ...'
- sh File.expand_path('_buildr'), '--buildfile=buildr.buildfile', 'compile'
+ args = File.expand_path('_buildr'), '--buildfile=buildr.buildfile', 'compile'
+ args << '--trace' if Rake.application.options.trace
+ sh *args
puts 'OK'
end
file Rake::GemPackageTask.new(spec).package_dir=>'compile'
file Rake::GemPackageTask.new(spec).package_dir_path=>'compile'
@@ -57,6 +59,6 @@
task 'stage:check' do
# Dependency check for the other platform, i.e. if making a release with Ruby,
# run dependency checks with JRuby. (Also, good opportunity to upgrade other
# platform's dependencies)
sh RUBY_PLATFORM =~ /java/ ? 'ruby' : 'jruby -S rake setup dependency'
-end
\ No newline at end of file
+end