Sha256: 462f26cf3c0f047679c6286c91a6c7692bdee2d36cb3cc775782a7f0bc5de215

Contents?: true

Size: 566 Bytes

Versions: 2

Compression:

Stored size: 566 Bytes

Contents

#!/usr/bin/env rake

namespace :gem do
  require 'bundler/gem_tasks'
end

desc 'Default task'
task default: :test

require 'coveralls/rake/task'
Coveralls::RakeTask.new

desc 'Run test suite'
task test: %w(test:rubocop test:rspec test:cucumber)

namespace :test do
  desc 'Test with coveralls'
  task coveralls: %w(test coveralls:push)

  desc 'Run rspec'
  task :rspec do
    sh 'bundle exec rspec'
  end

  desc 'Run cucumber'
  task :cucumber do
    sh 'bundle exec cucumber'
  end

  desc 'Run cucumber'
  task :rubocop do
    sh 'bundle exec rubocop'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
event-bus-0.2.0 Rakefile
event-bus-0.1.0 Rakefile