1

git clean

This commit is contained in:
Motiejus Jakštys 2021-06-16 23:45:51 +03:00 committed by Motiejus Jakštys
parent b7e183aaef
commit ca0a0cb1a6

View File

@ -6,6 +6,7 @@ readonly bzl=https://github.com/bazelbuild/bazelisk/releases/download/v1.9.0/baz
set -x set -x
outside() { outside() {
git clean -ffxd --exclude bazel
if [[ ! -x bazel ]]; then if [[ ! -x bazel ]]; then
rm -f bazel rm -f bazel
curl -L "$bzl" -o bazel curl -L "$bzl" -o bazel
@ -23,7 +24,6 @@ inside() {
exec ./bazel build -s --platforms @zig_sdk//:aarch64-macos-gnu //test:gognu exec ./bazel build -s --platforms @zig_sdk//:aarch64-macos-gnu //test:gognu
} }
case "${1:-}" in case "${1:-}" in
"") "")
outside;; outside;;