commit 01e0f68c44233c603c8b72a4d6f5d3a466085203 parent 4545acbd4dc898e90056761dc63695d0926675bb Author: William Casarin <jb55@jb55.com> Date: Mon, 24 May 2021 15:54:24 -0700 fuzz-compile: updates Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | bin/fuzz-compile | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/fuzz-compile b/bin/fuzz-compile @@ -10,7 +10,8 @@ then cmd="npm run $target" elif [ -f Cargo.toml ] then - cmd="cargo check --color=always 2>&1| sed -E '/^.*(warning|error).*:/N;s/\n//;s/-->//g'" + target=$(printf "check\nbuild\n" | fuzzer "$@") + cmd="cargo $target --color=always 2>&1| sed -E '/^.*(warning|error).*:/N;s/\n//;s/-->//g'" else target=$(fuzz-make "$@") cmd="make -j $target"