Rakefile in dependencies-0.0.8 vs Rakefile in dependencies-0.0.9
- old
+ new
@@ -1,5 +1,7 @@
task :test do
- system "cd test && env GEM_HOME=#{File.expand_path("tmp")} ruby dependencies_test.rb"
+ binary = File.open($0) { |f| f.gets }[/#\s*!\s*(.*)/, 1]
+ puts "Running suite with #{binary}"
+ system "cd test && env GEM_HOME=#{File.expand_path("tmp")} #{binary} dependencies_test.rb"
end
task :default => :test