diff --git a/.travis.yml b/.travis.yml index 06fbe45..18432c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ install: before_script: - sudo fmtutil-sys --byfmt lualatex - cp trpl_meta.yml trpl-ebook/ - - echo "pub const RELEASE_DATE: &'static str = \"`date +%F`\";" | cat - options.rs.template > options.rs + - "echo \"pub const RELEASE_DATE: &'static str = \\\"`date +%F`\\\";\" | cat - options.rs.template > options.rs" - cp options.rs trpl-ebook/src/convert_book/ - rm -rf trpl-ebook/trpl - cp -r the-rust-programming-language-ja/1.9/ja/book trpl-ebook/trpl diff --git a/options.rs b/options.rs.template similarity index 99% rename from options.rs rename to options.rs.template index 16560bd..fa9e050 100644 --- a/options.rs +++ b/options.rs.template @@ -1,5 +1,3 @@ - - pub const MARKDOWN: &'static str = "markdown+grid_tables+pipe_tables-simple_tables+raw_html+implicit_figures+footnotes+intraword_underscores+auto_identifiers-inline_code_attributes"; pub const HTML: &'static str = "--smart --normalize --standalone --self-contained --highlight-style=tango --table-of-contents --section-divs --template=lib/template.html --css=lib/pandoc.css --to=html5";