From 4f5fc96ecd53b0f42b80cf36e1b062154f2c0a19 Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Tue, 8 Mar 2022 00:25:11 -0800 Subject: [PATCH] update buildall --- buildall.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildall.sh b/buildall.sh index fc1a905..6d2868a 100755 --- a/buildall.sh +++ b/buildall.sh @@ -1 +1,2 @@ -eval "$(go tool dist list | awk -v FS=/ -v BIN=stc '{ print "GOOS=" $1 " GOARCH=" $2 " go build -o out/" BIN "-" $2 "-" gensub(/windows/, "windows.exe", "g", $1) }' )" +rm -f out/* +eval "$(go tool dist list | awk -v FS=/ -v BIN=stc '!/^(plan9|ios|js|android)/ { print "GOOS=" $1 " GOARCH=" $2 " go build -o out/" BIN "-" $2 "-" gensub(/windows/, "windows.exe", "g", $1) }' )"