aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNathan Collins <nathan.collins@gmail.com>2019-02-02 15:41:33 -0800
committerAlec Theriault <alec.theriault@gmail.com>2019-02-02 18:31:23 -0800
commit032ff0dd3411f66131854c4314b9f00c8540fd10 (patch)
treef73b9627d2672badb36be625f41b1d661e515f3c /README.md
parent7abad07c183af9710e14a96ce3a5ab982c2bbd50 (diff)
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 38354996..69f88087 100644
--- a/README.md
+++ b/README.md
@@ -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
```