git clean
This commit is contained in:
parent
b7e183aaef
commit
ca0a0cb1a6
2
hangzig
2
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;;
|
||||
|
Loading…
Reference in New Issue
Block a user