mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-11 06:55:38 +03:00
README: Getting started: split test
examples into separate examples
This commit is contained in:
parent
377902664b
commit
ea770eab96
14
README.md
14
README.md
@ -21,10 +21,20 @@ cd hnix
|
||||
nix-shell
|
||||
cabal v2-configure --enable-tests
|
||||
cabal v2-build
|
||||
```
|
||||
|
||||
Default test pack:
|
||||
```
|
||||
cabal v2-test
|
||||
# To run all of the tests, which takes up to a minute:
|
||||
```
|
||||
|
||||
To run all of the tests, which takes up to a minute:
|
||||
```
|
||||
env ALL_TESTS=yes cabal v2-test
|
||||
# To run only specific tests (see `tests/Main.hs` for a list)
|
||||
```
|
||||
|
||||
To run only specific tests (see `tests/Main.hs` for a list)
|
||||
```
|
||||
env NIXPKGS_TESTS=yes PRETTY_TESTS=1 cabal v2-test
|
||||
./dist/build/hnix/hnix --help
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user