diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 22 |
1 files changed, 2 insertions, 20 deletions
@@ -1,4 +1,4 @@ -dir = File.dirname(__FILE__) +require 'bundler/gem_tasks' require 'rake/testtask' @@ -16,8 +16,6 @@ def run_without_aborting(*tasks) abort "Errors running #{errors.join(', ')}" if errors.any? end - - task :default => :test desc 'Run all adapter tests' @@ -26,8 +24,7 @@ task :test do run_without_aborting(*tasks) end - -%w( inline resque sidekiq sucker_punch delayed_job).each do |adapter| +%w(inline resque sidekiq sucker_punch delayed_job).each do |adapter| Rake::TestTask.new("test_#{adapter}") do |t| t.libs << 'test' t.test_files = FileList['test/cases/**/*_test.rb'] @@ -41,18 +38,3 @@ end task "test_#{adapter}" => "#{adapter}:env" end - -require 'rubygems/package_task' - -spec = eval(File.read("#{dir}/activejob.gemspec")) - -Gem::PackageTask.new(spec) do |p| - p.gem_spec = spec -end - -desc "Release to rubygems" -task :release => :package do - require 'rake/gemcutter' - Rake::Gemcutter::Tasks.new(spec).define - Rake::Task['gem:push'].invoke -end |