generate yard docs to /yard instead of /doc

This commit is contained in:
Josh Holtrop 2019-05-14 21:35:56 -04:00
parent 215f5e4b51
commit bfcd0c0b05
2 changed files with 4 additions and 3 deletions

4
.gitignore vendored
View File

@ -4,7 +4,7 @@
/build_test_run/
/coverage/
/dist/
/doc/
/large_project/
/pkg/
/test/
/large_project/
/yard/

View File

@ -10,7 +10,7 @@ require "yard"
require "rake/clean"
require "fileutils"
CLEAN.include %w[build_test_run .yardoc doc coverage test]
CLEAN.include %w[build_test_run .yardoc yard coverage test]
CLOBBER.include %w[dist pkg]
task :build_dist do
@ -39,6 +39,7 @@ end
YARD::Rake::YardocTask.new do |yard|
yard.files = ['lib/**/*.rb']
yard.options = ["-oyard"]
end
task :gen_large_project, [:size] => :build_dist do |task, args|