1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-30 04:51:21 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Elisabeth Henry
54ca041d5a Clean Book constructors API
- Book::new takes an additional `options` parameter.
- Book::new_from_file_with_options becomes `new_from_file`, which got
  deleted.

This way, each constructor takes an `options` parameter (which can
be set to `&[]` for default options), allowing derived constructors to
not replicate the setting options code.
2016-03-03 20:56:28 +01:00
Elisabeth Henry
dae4b02a00 tests/book.rs: updated so it works again with changed api 2016-02-29 01:12:29 +01:00
Elisabeth Henry
bd8cc636ca tests/book.rs: removed unecessary use 2016-02-27 04:42:20 +01:00
Elisabeth Henry
67320cd5cf updated tests/book.rs to new path for config.book 2016-02-26 23:30:39 +01:00
Elisabeth Henry
8175812f36 added zip.command to book options 2016-02-26 18:51:13 +01:00
Elisabeth Henry
722e80ec35 tests/book.rs: call render_epub instead of render_all so it doesn't fail if latex is not present 2016-02-26 17:41:51 +01:00
Elisabeth Henry
bd2971ab61 no longer change current directory, as it generated problems in multithreaded envs 2016-02-26 17:33:33 +01:00