tasks/website.rake in gecoder-with-gecode-1.0.0 vs tasks/website.rake in gecoder-with-gecode-1.1.0
- old
+ new
@@ -29,23 +29,23 @@
publisher.upload
end
module WebsiteRakeHelpers
module_function
-
+
# Remove generated documentation.
def clobber
rm_rf 'doc/output'
rm_rf 'doc/tmp'
end
-
+
# Generates the website with webgen.
def webgen
Dir.chdir 'doc' do
output = nil
IO.popen('webgen 2>&1') do |io|
output = io.read
end
raise "ERROR while running webgen: #{output}" if output =~ /ERROR/n || $? != 0
end
end
-end
\ No newline at end of file
+end