Skip to content

Commit 78b6445

Browse files
committed
Remove yard from the default build
Previously yard would be run for the default build (run during CI). However the artifacts created are never persisted so it was a waste a non-trivial of time. The change keeps the API enforcement task in the build, but removes the doc generation task. To create the docs, simply run `bundle exec rake yard`.
1 parent 034c8f2 commit 78b6445

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Rakefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ require 'rspec/core/rake_task'
1717
RSpec::Core::RakeTask.new
1818

1919
require 'yard'
20-
YARD::Rake::YardocTask.new do |t|
21-
t.options = ['--no-stats']
22-
end
20+
YARD::Rake::YardocTask.new
2321

2422
require 'rubocop/rake_task'
2523
Rubocop::RakeTask.new
@@ -40,4 +38,4 @@ require 'rake/clean'
4038
CLEAN.include %w(.yardoc coverage)
4139
CLOBBER.include %w(doc pkg)
4240

43-
task :default => [ :rubocop, :check_api_doc, :yard, :spec ]
41+
task :default => [ :rubocop, :check_api_doc, :spec ]

0 commit comments

Comments
 (0)