Sha256: 3f6cde01575d0211faaa8d1124298b088b6a5bd8d41479bc9e985dc8d5d63646

Contents?: true

Size: 645 Bytes

Versions: 1

Compression:

Stored size: 645 Bytes

Contents

require 'bundler'
Bundler.setup
Bundler::GemHelper.install_tasks

require 'cucumber'
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
  ENV['TEST'] = 'true'
  exempt_tags = ''
  exempt_tags << '--tags ~@nojava' if RUBY_PLATFORM == 'java'
  t.cucumber_opts = "--color --tags ~@wip #{exempt_tags} --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
end

begin
  require 'rubocop/rake_task'
  desc 'Run rubocop'
  Rubocop::RakeTask.new(:rubocop)
rescue LoadError
end

task default: :cucumber
task test: :cucumber

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-dotenv-1.1.0 Rakefile