Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Commit

Permalink
Remove yard-doctest autoloading (googleapis#2133)
Browse files Browse the repository at this point in the history
This was adding the plugin multiple times, and would print the following
warning multiple times when a rake task was run:

[error]: Error loading plugin 'yard-doctest'
  • Loading branch information
blowmage authored Jun 14, 2018
1 parent 5171534 commit 7545021
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion google-cloud-bigquery/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-datastore/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-debugger/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-dns/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-error_reporting/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-firestore/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-logging/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-pubsub/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ end
desc "Run yard-doctest example tests."
#task doctest: :yard do
task :doctest do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-resource_manager/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-spanner/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ end

desc "Run yard-doctest example tests."
task :doctest do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-storage/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-trace/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ end

desc "Runs yard-doctest example tests."
task :doctest do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-translate/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down
1 change: 0 additions & 1 deletion google-cloud-vision/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ end

desc "Run yard-doctest example tests."
task doctest: :yard do
sh "bundle exec yard config -a autoload_plugins yard-doctest"
sh "bundle exec yard doctest"
end

Expand Down

0 comments on commit 7545021

Please sign in to comment.