CasaOS/Makefile

14 lines
269 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:
2021-09-27 09:22:18 +00:00
cd CasaOS-UI && yarn install && yarn build
2021-09-26 02:35:02 +00:00
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"