From ca0a0cb1a6ac17287055c491cb366733b069113d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 16 Jun 2021 23:45:51 +0300 Subject: [PATCH] git clean --- hangzig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hangzig b/hangzig index c2ead75..3fd7f97 100755 --- a/hangzig +++ b/hangzig @@ -6,6 +6,7 @@ readonly bzl=https://github.com/bazelbuild/bazelisk/releases/download/v1.9.0/baz set -x outside() { + git clean -ffxd --exclude bazel if [[ ! -x bazel ]]; then rm -f bazel curl -L "$bzl" -o bazel @@ -23,7 +24,6 @@ inside() { exec ./bazel build -s --platforms @zig_sdk//:aarch64-macos-gnu //test:gognu } - case "${1:-}" in "") outside;;