From 332703c8568e668998e5dcfefc328bdcb3b19d47 Mon Sep 17 00:00:00 2001 From: Julian Arni Date: Fri, 2 Aug 2013 16:23:25 -0400 Subject: [PATCH] Fix repeated doc builds --- rakelib/docs.rake | 5 ----- rakelib/tests.rake | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/rakelib/docs.rake b/rakelib/docs.rake index ce6c65f7fb..ddd2549f2b 100644 --- a/rakelib/docs.rake +++ b/rakelib/docs.rake @@ -13,11 +13,6 @@ task :builddocs, [:options] do |t, args| path = "docs" end - Dir.chdir(path) do - sh('make html') - end - path = "docs" - Dir.chdir(path) do sh('make html') end diff --git a/rakelib/tests.rake b/rakelib/tests.rake index 57861902bc..8b308efa15 100644 --- a/rakelib/tests.rake +++ b/rakelib/tests.rake @@ -44,8 +44,6 @@ task :test_docs do (You shouldn't fix rst warnings and errors for this to pass, just get rid of exceptions.)" puts (test_message % ["rake doc"]).colorize( :light_green ) test_sh('rake builddocs') - puts (test_message % ["rake doc[pub]"]).colorize( :light_green ) - test_sh('rake builddocs[pub]') end task :clean_test_files do @@ -161,4 +159,4 @@ task :coverage => :report_dirs do if not found_coverage_info puts "No coverage info found. Run `rake test` before running `rake coverage`." end -end \ No newline at end of file +end