Download Makefile from coo7/monixxca: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/spaces/coo7/monixxca/resolve/main/Makefile
- Command line
-
hf download hf://spaces/coo7/monixxca/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/coo7/monixxca/resolve/main/Makefile
620 Bytes
| .PHONY: build | |
| build: build-linux-amd64 build-linux-arm64 build-darwin-arm64 | |
| build-darwin-arm64: | |
| @rm -rf build || true | |
| @mkdir -p build || true | |
| @go mod tidy | |
| @CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o build/monica . | |
| build-linux-amd64: | |
| @rm -rf build || true | |
| @mkdir -p build || true | |
| @go mod tidy | |
| @CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o build/monica . | |
| @upx -7 build/monica | |
| build-linux-arm64: | |
| @rm -rf build || true | |
| @mkdir -p build || true | |
| @go mod tidy | |
| @CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o build/monica . | |
| @upx -7 build/monica |