Fix repeated doc builds

This commit is contained in:
Julian Arni
2013-08-02 16:23:25 -04:00
parent 3d44c83fa7
commit 332703c856
2 changed files with 1 additions and 8 deletions

View File

@@ -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

View File

@@ -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
end