Commit 332703c8 by Julian Arni

Fix repeated doc builds

parent 3d44c83f
...@@ -16,11 +16,6 @@ task :builddocs, [:options] do |t, args| ...@@ -16,11 +16,6 @@ task :builddocs, [:options] do |t, args|
Dir.chdir(path) do Dir.chdir(path) do
sh('make html') sh('make html')
end end
path = "docs"
Dir.chdir(path) do
sh('make html')
end
end end
desc "Show docs in browser (mac and ubuntu)." desc "Show docs in browser (mac and ubuntu)."
......
...@@ -44,8 +44,6 @@ task :test_docs do ...@@ -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.)" (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 ) puts (test_message % ["rake doc"]).colorize( :light_green )
test_sh('rake builddocs') test_sh('rake builddocs')
puts (test_message % ["rake doc[pub]"]).colorize( :light_green )
test_sh('rake builddocs[pub]')
end end
task :clean_test_files do task :clean_test_files do
...@@ -161,4 +159,4 @@ task :coverage => :report_dirs do ...@@ -161,4 +159,4 @@ task :coverage => :report_dirs do
if not found_coverage_info if not found_coverage_info
puts "No coverage info found. Run `rake test` before running `rake coverage`." puts "No coverage info found. Run `rake test` before running `rake coverage`."
end end
end end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment