test/sample-book/src/Rakefile in review-2.0.0 vs test/sample-book/src/Rakefile in review-2.1.0
- old
+ new
@@ -32,9 +32,16 @@
desc "build all html"
task :html_all do
build_all("html")
end
+desc 'preproc all'
+task :preproc do
+ Dir.glob("*.re").each do |file|
+ sh "review-preproc --replace #{file}"
+ end
+end
+
desc 'generate PDF and EPUB file'
task :all => [:pdf, :epub]
desc 'generate PDF file'
task :pdf => BOOK_PDF