Sha256: 3f1cc664764515d21afbb859a6204d03de74abb31f0d590ccca5e756a5a7f17f

Contents?: true

Size: 826 Bytes

Versions: 5

Compression:

Stored size: 826 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
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

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.4.18 Rakefile
vedeu-0.4.17 Rakefile
vedeu-0.4.16 Rakefile
vedeu-0.4.15 Rakefile
vedeu-0.4.14 Rakefile