Sha256: baf2832eb71bc1d74ceae0805d8117e78b19e370f91efcf9ecf447737a0b4357

Contents?: true

Size: 898 Bytes

Versions: 18

Compression:

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

18 entries across 18 versions & 1 rubygems

Version Path
vedeu-0.4.40 Rakefile
vedeu-0.4.39 Rakefile
vedeu-0.4.38 Rakefile
vedeu-0.4.37 Rakefile
vedeu-0.4.36 Rakefile
vedeu-0.4.35 Rakefile
vedeu-0.4.34 Rakefile
vedeu-0.4.33 Rakefile
vedeu-0.4.32 Rakefile
vedeu-0.4.31 Rakefile
vedeu-0.4.30 Rakefile
vedeu-0.4.29 Rakefile
vedeu-0.4.28 Rakefile
vedeu-0.4.27 Rakefile
vedeu-0.4.26 Rakefile
vedeu-0.4.25 Rakefile
vedeu-0.4.24 Rakefile
vedeu-0.4.23 Rakefile