Rakefile in chess-0.3.3 vs Rakefile in chess-0.3.4
- old
+ new
@@ -1,18 +1,18 @@
require 'bundler/gem_tasks'
require 'yard'
YARD::Rake::YardocTask.new do |t|
- t.files = ['lib/**/*.rb', 'ext/*.c']
+ t.files = ['lib/**/*.rb', 'ext/**/*.c']
t.options << '-rREADME.md'
t.options << '--title=Chess'
t.options << '-mmarkdown'
t.options << '--output-dir=docs'
end
require 'rake/testtask'
task default: :test
Rake::TestTask.new do |test|
- test.libs << 'test'
+ test.libs += %w[ext lib test]
test.warning = true
test.test_files = FileList["test/test_#{ENV.fetch('T', '*')}.rb"]
end