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
|
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;;
|
||||||
|
Loading…
Reference in New Issue
Block a user