mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-09-11 11:46:57 +03:00
rework build directions
This commit is contained in:
parent
ac2eedb58f
commit
1b9f62c1d2
23
README.md
23
README.md
@ -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
|
||||
------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user