Sha256: 43efb6d5b76c20fa2127f69c7da821fa6465a6f91992427348005996e2c917ea
Contents?: true
Size: 656 Bytes
Versions: 2
Compression:
Stored size: 656 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/syntax-book/lib/tasks/z01_copy_sty.rake |
review-3.1.0 | samples/syntax-book/lib/tasks/z01_copy_sty.rake |