Sha256: f2d4b1e10c5d3ae0432d114a3240d183811c77d7e26d9ef19a3822071d591a2a

Contents?: true

Size: 645 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
middleman-dotenv-2.0.0 Rakefile
middleman-dotenv-1.1.1 Rakefile