rework build directions

This commit is contained in:
Stephen Diehl 2015-12-13 22:16:16 -05:00
parent ac2eedb58f
commit 1b9f62c1d2

View File

@ -61,22 +61,12 @@ Building
--------
To generate the build scripts provision a cabal sandbox with pandoc in it. This
is done by the ``write-you-a-haskell.cabal`` file.
**Cabal**
```bash
$ cabal sandbox init
$ cabal install --only-dependencies
$ cabal exec bash
$ make
```
is done by the ``write-you-a-haskell.cabal`` and ``stack.yaml`` files.
**Stack**
```bash
$ stack exec bash
$ make
$ stack exec make
```
To make the generate the pdf, the LaTeX packages must be installed on the
@ -89,6 +79,15 @@ $ sudo tlmgr install zapfding
$ stack exec make pdf
```
**Cabal**
```bash
$ cabal sandbox init
$ cabal install --only-dependencies
$ cabal exec bash
$ make
```
Contributing
------------