mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-08-16 23:20:54 +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
|
*.agdai
|
||||||
*.history
|
*.history
|
||||||
Setup.hs
|
Setup.hs
|
||||||
|
.stack-work
|
||||||
|
@ -63,6 +63,8 @@ Building
|
|||||||
To generate the build scripts provision a cabal sandbox with pandoc in it. This
|
To generate the build scripts provision a cabal sandbox with pandoc in it. This
|
||||||
is done by the ``write-you-a-haskell.cabal`` file.
|
is done by the ``write-you-a-haskell.cabal`` file.
|
||||||
|
|
||||||
|
**Cabal**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cabal sandbox init
|
$ cabal sandbox init
|
||||||
$ cabal install --only-dependencies
|
$ cabal install --only-dependencies
|
||||||
@ -70,6 +72,13 @@ $ cabal exec bash
|
|||||||
$ make
|
$ make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Stack**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ stack exec bash
|
||||||
|
$ make
|
||||||
|
```
|
||||||
|
|
||||||
To make the generate the pdf, the LaTeX packages must be installed on the
|
To make the generate the pdf, the LaTeX packages must be installed on the
|
||||||
system.
|
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