Rakefile in nanoc-4.7.10 vs Rakefile in nanoc-4.7.11
- old
+ new
@@ -8,14 +8,17 @@
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.test_files = Dir['test/**/test_*.rb']
t.libs << 'test'
+ t.verbose = false
end
-RSpec::Core::RakeTask.new(:spec)
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.verbose = false
+end
task test: %i[spec test_all rubocop]
task test_ci: %i[test coveralls:push]
task default: :test