Sha256: 318b7d8a793cf1ec82c5fe815bb88251944a2961f75a505bf91d72138de24ae4

Contents?: true

Size: 432 Bytes

Versions: 4

Compression:

Stored size: 432 Bytes

Contents

require 'rubocop/rake_task'
require 'rspec/core/rake_task'
require 'rake/testtask'
require 'coveralls/rake/task'

RuboCop::RakeTask.new(:rubocop)

Coveralls::RakeTask.new

Rake::TestTask.new(:test_all) do |t|
  t.test_files = Dir['test/**/*_spec.rb'] + Dir['test/**/test_*.rb']
  t.libs << 'test'
end

RSpec::Core::RakeTask.new(:spec)

task test: %i[spec test_all rubocop]
task test_ci: %i[test coveralls:push]

task default: :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nanoc-4.7.9 Rakefile
nanoc-4.7.8 Rakefile
nanoc-4.7.7 Rakefile
nanoc-4.7.6 Rakefile