CasaOS/Makefile

14 lines
262 B
Makefile
Raw Normal View History

2021-09-26 02:35:02 +00:00
.PHONY:build build-ui build-backend help
build: build-ui build-backend
build-ui:
cd UI && yarn install && yarn build
build-backend:
2021-09-27 06:17:36 +00:00
export CGO_ENABLED=1;export CGO_LDFLAGS=-static;go build -o ./casa main.go;upx --lzma --best casa
2021-09-26 02:35:02 +00:00
help:
@echo "call john"