CasaOS/Makefile
2021-09-26 10:35:02 +08:00

13 lines
274 B
Makefile

.PHONY:build build-ui build-backend help
build: build-ui build-backend
build-ui:
cd UI && yarn install && yarn build
build-backend:
export CGO_ENABLED=1;export CGO_LDFLAGS=-static;go mod tidy;go build -o ./casa main.go;upx --lzma --best casa
help:
@echo "call john"