diff options
author | Nathan Collins <nathan.collins@gmail.com> | 2019-02-02 15:41:33 -0800 |
---|---|---|
committer | Alec Theriault <alec.theriault@gmail.com> | 2019-02-02 18:31:23 -0800 |
commit | 032ff0dd3411f66131854c4314b9f00c8540fd10 (patch) | |
tree | f73b9627d2672badb36be625f41b1d661e515f3c | |
parent | 7abad07c183af9710e14a96ce3a5ab982c2bbd50 (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.
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ``` |