👷 add build for macos

pull/661/head
Xhofe 2022-02-25 23:59:27 +08:00
parent 135d505192
commit 10634c7b77
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ BUILD() {
if [ "$1" == "release" ]; then
xgo -out "$appName" -ldflags="$ldflags" -tags=jsoniter .
else
xgo -targets=linux/amd64,windows/amd64 -out "$appName" -ldflags="$ldflags" -tags=jsoniter .
xgo -targets=linux/amd64,windows/amd64,darwin/amd64 -out "$appName" -ldflags="$ldflags" -tags=jsoniter .
fi
mkdir -p "build"
mv alist-* build