1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-16 01:47:08 +03:00

Merge pull request #191 from nmattia/nm-dont-ship-niv-test

Remove the niv-test executable
This commit is contained in:
Nicolas Mattia 2020-01-20 18:32:12 +01:00 committed by GitHub
commit 49157afd22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -196,9 +196,6 @@ rec
tests-github = pkgs.callPackage ./tests/github { inherit niv; };
tests-git = pkgs.callPackage ./tests/git { inherit niv; };
niv-test = pkgs.runCommand "niv-test" { buildInputs = [ niv ]; }
"niv-test && touch $out";
readme = pkgs.writeText "README.md" (
let
template = builtins.readFile ./README.tpl.md;

View File

@ -57,7 +57,9 @@ executables:
source-dirs: app
dependencies:
- niv
niv-test:
tests:
unit:
main: NivTest.main
source-dirs: app
dependencies:

View File

@ -27,7 +27,7 @@ if [[ ! $OSTYPE =~ darwin ]]; then
else
echo "Testing on darwin"
echo "Not enabling sandbox, not running integration"
targets+=("-A" "niv-test")
targets+=("-A" "niv")
fi
# Build and create a root