Sha256: 7250800114d30012626c046678693c6ef8cb1951a0b07618f62afa4f14dcc4d9
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 Bytes
Contents
desc 'copy sty/* files from current Re:VIEW source code (in git repos)' task :copy_sty do review_rootdir = '../../..' jsbook_dir = File.join(review_rootdir, 'templates/latex/review-jsbook') gentombow_dir = File.join(review_rootdir, 'vendor/gentombow') Dir.glob(File.join(jsbook_dir, '*.cls')) do |file| FileUtils.cp file, 'sty' end Dir.glob(File.join(jsbook_dir, 'review-*.sty')) do |file| FileUtils.cp file, 'sty' end FileUtils.cp File.join(gentombow_dir, 'gentombow.sty'), 'sty/gentombow.sty' end CLEAN.include([Dir.glob('sty/review-*.sty'), 'sty/review-jsbook.cls', 'sty/gentombow.sty']) Rake::Task[BOOK_PDF].enhance([:copy_sty])
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
review-3.2.0 | samples/sample-book/src/lib/tasks/z01_copy_sty.rake |
review-3.1.0 | samples/sample-book/src/lib/tasks/z01_copy_sty.rake |