Sha256: 6216f0259d783d53dcfda7ad682eec3107daf0a27597a02f7ea45982700bd3aa

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup

require 'rake'
require 'rspec/core/rake_task'
require 'rubygems/package_task'

Gem::PackageTask.new(Gem::Specification.load('rcelery.gemspec')).define

desc 'Run ruby worker integration specs'
RSpec::Core::RakeTask.new('spec:integration:ruby_worker') do |t|
  t.pattern = 'spec/integration/ruby_worker_spec.rb'
  t.rspec_opts = ["--color"]
end

desc 'Run python worker integration specs'
RSpec::Core::RakeTask.new('spec:integration:python_worker') do |t|
  t.pattern = 'spec/integration/ruby_client_python_worker_spec.rb'
  t.rspec_opts = ["--color"]
end

desc 'Run unit specs'
RSpec::Core::RakeTask.new('spec:unit') do |t|
  t.pattern = 'spec/unit/*_spec.rb'
  t.rspec_opts = ["--color"]
end

desc 'Run all specs'
task :spec => ['spec:unit',]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rcelery-1.0.1 Rakefile