Makefile 269 B

12345678910111213
  1. .PHONY:build build-ui build-backend help
  2. build: build-ui build-backend
  3. build-ui:
  4. cd CasaOS-UI && yarn install && yarn build
  5. build-backend:
  6. export CGO_ENABLED=1;export CGO_LDFLAGS=-static;go build -o ./casa main.go;upx --lzma --best casa
  7. help:
  8. @echo "call john"