test/sample-book/src/Rakefile in review-1.1.0 vs test/sample-book/src/Rakefile in review-1.2.0

- old
+ new

@@ -1,15 +1,15 @@ require 'fileutils' def build(mode, chapter) - sh "review-compile --target=#{mode} --footnotetext --singledirmode --stylesheet=style.css #{chapter} > tmp" + sh "review-compile --target=#{mode} --footnotetext --stylesheet=style.css #{chapter} > tmp" mode_ext = {"html" => "html", "latex" => "tex", "idgxml" => "xml", "inao" => "inao"} FileUtils.mv "tmp", chapter.gsub(/re\z/, mode_ext[mode]) end def build_all(mode) - sh "review-compile --all --target=#{mode} --footnotetext --singledirmode --stylesheet=style.css" + sh "review-compile --all --target=#{mode} --footnotetext --stylesheet=style.css" end desc "build html (Usage: rake build re=target.re)" task :html do if ENV['re'].nil?