Sha256: 361cb1f12b9e6f8987505a73c9623cbc6bfb48faf37293e0cd201cc08238bd20

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

require 'rake/clean'
require 'cucumber/rake/task'
require 'rubocop/rake_task'

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
rescue LoadError
  puts 'rspec not installed - skipping unit test task setup'
end

RuboCop::RakeTask.new

CLEAN.include('pkg/', 'tmp/')

Cucumber::Rake::Task.new do |t|
  t.cucumber_opts = ''
  t.cucumber_opts << '--format pretty'
end

task :test => %i[clean spec cucumber rubocop]
task :default => %i[test]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
modulesync-1.3.0 Rakefile
modulesync-1.2.0 Rakefile
modulesync-1.1.0 Rakefile