update makefile

This commit is contained in:
a624669980 2021-09-27 17:22:18 +08:00
parent 2cb16144ca
commit 2491a03d4b

View file

@ -4,7 +4,7 @@ build: build-ui build-backend
build-ui:
cd UI && yarn install && yarn build
cd CasaOS-UI && yarn install && yarn build
build-backend:
export CGO_ENABLED=1;export CGO_LDFLAGS=-static;go build -o ./casa main.go;upx --lzma --best casa