Commit 032ff0dd authored by Nathan Collins's avatar Nathan Collins Committed by Alec Theriault

Update README instructions for Stack

No need to `stack install` Haddock to test it. Indeed, `stack install` changes the `haddock` on user's `PATH` if `~/.local/bin` is on user's `PATH` which may not be desirable when hacking on Haddock.
parent 7abad07c
......@@ -82,9 +82,9 @@ cabal test
```bash
stack init
stack install
stack build
# run the test suite
export HADDOCK_PATH="$HOME/.local/bin/haddock"
export HADDOCK_PATH="$(stack exec which haddock)"
stack test
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment