Rakefile in tanshuku-0.0.14 vs Rakefile in tanshuku-0.0.15
- old
+ new
@@ -19,12 +19,12 @@
task :server do
puts "See http://localhost:8808/"
sh "yard server --reload"
end
- desc "Generate YARD docs"
- task :generate do
- sh "yard --output-dir docs"
+ desc "Check YARD docs"
+ task :check do
+ sh "yard --no-output --no-cache --fail-on-warning"
end
end
-task default: %i[rubocop spec]
+task default: %i[rubocop spec yard:check]