aoc-2020-zig

git clone https://git.sinitax.com/sinitax/aoc-2020-zig
Log | Files | Refs | README | sfeed.txt

commit 8730eecf345be6e9c9b629f48a1c2858f08c6cdc
parent 2a2a7f93fca42a62e23f456625d8ee29301c5782
Author: Louis Burda <quent.burda@gmail.com>
Date:   Thu, 24 Dec 2020 08:53:50 +0100

fixed test script

Diffstat:
Mdata/helper/scripts/test | 10++++------
1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/data/helper/scripts/test b/data/helper/scripts/test @@ -1,9 +1,7 @@ #!/bin/bash -[ -z "$REPOROOT" ] && exit 1 - -[ ! -e "$REPOROOT/cache" ] && mkdir "$REPOROOT/cache" -zig test --cache-dir "$REPOROOT/cache" \ - --pkg-begin "console8" "$REPOROOT/lib/console8.zig" --pkg-end \ - --pkg-begin "aoc" "$REPOROOT/lib/aoc.zig" --pkg-end \ +[ ! -e "$SOLUTIONS_ROOT/cache" ] && mkdir "$SOLUTIONS_ROOT/cache" +zig test --cache-dir "$SOLUTIONS_ROOT/cache" \ + --pkg-begin "console8" "$SOLUTIONS_ROOT/lib/console8.zig" --pkg-end \ + --pkg-begin "aoc" "$SOLUTIONS_ROOT/lib/aoc.zig" --pkg-end \ main.zig