Sha256: 7f0fb18d61abf864cf60cc8994319b9f36b64d301e3c6b8ced854a08c7efbf9b

Contents?: true

Size: 888 Bytes

Versions: 4

Compression:

Stored size: 888 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'cucumber'
require 'cucumber/rake/task'
require 'inch/rake'
require 'yard'
require 'rubocop/rake_task'

Cucumber::Rake::Task.new(:cucumber) do |t|
  t.cucumber_opts = 'features --format progress'
end

Rake::TestTask.new(:test) do |t|
  t.libs.push 'lib'
  t.libs.push 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
  t.warning = false # set to true for Ruby warnings (ruby -w)
end

YARD::Rake::YardocTask.new(:yard) do |t|
  t.files = [
    'lib/**/*.rb',
    '-',
    'docs/api.md',
    'docs/getting_started.md',
    'docs/views.md',
  ]
end

Inch::Rake::Suggest.new(:inch) do |suggest|
  suggest.args << '--pedantic'
  suggest.args << '--all'
end

RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb']
  task.formatters = ['progress']
  task.fail_on_error = false
end

task default: :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vedeu-0.4.22 Rakefile
vedeu-0.4.21 Rakefile
vedeu-0.4.20 Rakefile
vedeu-0.4.19 Rakefile