lib/bookmaker/generator.rb in bookmaker-0.5.0 vs lib/bookmaker/generator.rb in bookmaker-0.5.2

- old
+ new

@@ -11,20 +11,23 @@ @year = Date.today.year template "config.erb", "_bookmaker.yml" end def copy_templates copy_file "latex.erb", "templates/pdf/layout.erb" + copy_file "dp-logo.png", "images/dp-logo.png" copy_file "html.erb", "templates/html/layout.erb" copy_file "user.css", "templates/html/user.css" copy_file "layout.css", "templates/html/layout.css" copy_file "syntax.css", "templates/html/syntax.css" + copy_file "cover.html", "templates/epub/cover.html" copy_file "epub.erb", "templates/epub/page.erb" copy_file "epub.css", "templates/epub/user.css" + copy_file "cover.jpg", "images/cover.jpg" end def copy_sample_text - copy_file "sample.md" , "text/01-Welcome.md" + copy_file "sample.tex" , "text/01_First-Chapter/01-Welcome.tex" end def create_directories empty_directory "output" empty_directory "images" end \ No newline at end of file