123456789101112131415161718 |
- .PHONY: build-proxy format build-proxy-cmd
- PROXY_BIN = http-wokou
- PROXY_CMD = wokou-cmd
- build-proxy:
- mkdir -p ./build/linux/$(PROXY_BIN) && go build -o ./build/linux/$(PROXY_BIN)/$(PROXY_BIN) ./cmd/$(PROXY_BIN)/$(PROXY_BIN).go
- build-proxy-cmd:
- mkdir -p ./build/linux/$(PROXY_CMD) && go build -o ./build/linux/$(PROXY_CMD)/$(PROXY_CMD) ./cmd/$(PROXY_CMD)/$(PROXY_CMD).go
- format:
- go fmt ./...
|