mirror of https://github.com/Xhofe/alist
👷 add build for macos
parent
135d505192
commit
10634c7b77
2
build.sh
2
build.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue