Skip to content

Commit

Permalink
Execute haskintex with -werror flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Gushcha committed Dec 29, 2016
1 parent 52d7ca5 commit 3223f73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
1.2.1.0
=======

* Execute `haskintex` with `-werror` flag.

1.2.0.0
=======

Expand Down
2 changes: 1 addition & 1 deletion pdf-slave.cabal
@@ -1,5 +1,5 @@
name: pdf-slave
version: 1.2.0.0
version: 1.2.1.0
synopsis: Tool to generate PDF from haskintex templates and YAML input
description: Please see README.md
homepage: https://github.com/NCrashed/pdf-slave#readme
Expand Down
1 change: 1 addition & 0 deletions src/Text/PDF/Slave/Render.hs
Expand Up @@ -181,6 +181,7 @@ renderTemplate minput TemplateFile{..} baseDir outputFolder = do
haskintex = bash "haskintex" $ [
"-overwrite"
, "-verbose"
, "-werror"
, toTextArg $ baseDir </> bodyName ]
++ templateFileHaskintexOpts
-- input file might be missing, if missing we can inject input from parent
Expand Down

0 comments on commit 3223f73

Please sign in to comment.