aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index f64b60b0dd..813908cf8b 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -272,6 +272,20 @@ Rake::RDocTask.new { |rdoc|
rdoc.rdoc_files.include('lib/commands/**/*.rb')
}
+guides = ['securing_rails_applications', 'testing_rails_applications']
+guides_html_files = []
+guides.each do |guide_name|
+ input = "doc/guides/#{guide_name}/#{guide_name}.txt"
+ output = "doc/guides/#{guide_name}/#{guide_name}.html"
+ guides_html_files << output
+ task output => Dir["doc/guides/#{guide_name}/*.txt"] do
+ sh "mizuho", input, "--template", "manualsonrails", "--multi"
+ end
+end
+
+desc "Generate HTML output for the guides"
+task :generate_guides => guides_html_files
+
# Generate GEM ----------------------------------------------------------------------------
task :copy_gem_environment do