Sha256: f3e25f2395a8ba9d95d73139e0f2f5b1ca6ba6126a930b14f17d99f047140230

Contents?: true

Size: 821 Bytes

Versions: 1

Compression:

Stored size: 821 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup

require 'rake'
require 'rspec/core/rake_task'
require 'rake/gempackagetask'

def gemspec
  eval(File.new('rcelery.gemspec').read)
end
Rake::GemPackageTask.new(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.0 Rakefile