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