Rakefile in resque-1.20.0 vs Rakefile in resque-1.21.0
- old
+ new
@@ -18,22 +18,15 @@
require 'rake/testtask'
task :default => :test
-if command?(:rg)
- desc "Run the test suite with rg"
- task :test do
- Dir['test/**/*_test.rb'].each do |f|
- sh("rg #{f}")
- end
- end
-else
- Rake::TestTask.new do |test|
- test.libs << "test"
- test.test_files = FileList['test/**/*_test.rb']
- end
+Rake::TestTask.new do |test|
+ test.verbose = true
+ test.libs << "test"
+ test.libs << "lib"
+ test.test_files = FileList['test/**/*_test.rb']
end
if command? :kicker
desc "Launch Kicker (like autotest)"
task :kicker do
@@ -72,7 +65,6 @@
sh "gem push resque-#{Resque::Version}.gem"
sh "git tag v#{Resque::Version}"
sh "git push origin v#{Resque::Version}"
sh "git push origin master"
sh "git clean -fd"
- exec "rake pages"
end