Sha256: 7f1284f1892547d9b8ef1ba4ee455b8d4cda77486652a9743f092b4bb14eee12

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 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/gentombow09j.sty'
end

CLEAN.include([Dir.glob('sty/review-*.sty'), 'sty/review-jsbook.cls', 'sty/gentombow09j.sty'])

Rake::Task[BOOK_PDF].enhance([:copy_sty])

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
review-3.0.0 samples/sample-book/src/lib/tasks/z01_copy_sty.rake
review-3.0.0.rc1 samples/sample-book/src/lib/tasks/z01_copy_sty.rake
review-3.0.0.preview4 samples/sample-book/src/lib/tasks/z01_copy_sty.rake