Skip to content

Commit

Permalink
Merge pull request #630 from kmuto/rake-preproc
Browse files Browse the repository at this point in the history
Rakefile: add task `preproc`
  • Loading branch information
takahashim committed May 6, 2016
2 parents 03213fd + cfb969c commit 1ced03f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/sample-book/src/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ 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]

Expand Down

0 comments on commit 1ced03f

Please sign in to comment.