mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-10-05 15:29:04 +03:00
added stack support
This commit is contained in:
parent
c536b30c9a
commit
142b1628a9
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@ includes
|
||||
*.agdai
|
||||
*.history
|
||||
Setup.hs
|
||||
.stack-work
|
||||
|
@ -63,6 +63,8 @@ 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
|
||||
@ -70,6 +72,13 @@ $ cabal exec bash
|
||||
$ make
|
||||
```
|
||||
|
||||
**Stack**
|
||||
|
||||
```bash
|
||||
$ stack exec bash
|
||||
$ make
|
||||
```
|
||||
|
||||
To make the generate the pdf, the LaTeX packages must be installed on the
|
||||
system.
|
||||
|
||||
|
6
stack.yaml
Normal file
6
stack.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
resolver: lts-2.22
|
||||
packages:
|
||||
- '.'
|
||||
extra-deps: []
|
||||
flags: {}
|
||||
extra-package-dbs: []
|
Loading…
Reference in New Issue
Block a user