Sha256: fd2e9601fd5e1fedb715a79cc6c4f9172ea6faa7ec435811db34a02734a188d2

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

require "bundler/gem_tasks"
require "rubocop/rake_task"
require 'cucumber/rake/task'

RuboCop::RakeTask.new

Cucumber::Rake::Task.new(:features) do |t|
  t.cucumber_opts = "features --format pretty"
end

task :default do
  if ENV["RUBOCOP"]
    Rake::Task["rubocop"].invoke
  else
    Rake::Task["features"].invoke
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
localer-0.2.0 Rakefile
localer-0.1.1 Rakefile
localer-0.1.0 Rakefile