diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ IMAGE="docker.crute.me/websocket-proxy" | |||
2 | VERSION="0.1.0" | 2 | VERSION="0.1.0" |
3 | 3 | ||
4 | websocket-proxy: main.go sockets.go server.go client.go | 4 | websocket-proxy: main.go sockets.go server.go client.go |
5 | CGO_ENABLED=0 go build -o $@ $^ | 5 | CGO_ENABLED=0 go build -ldflags "-X main.version=$(VERSION)" -o $@ $^ |
6 | 6 | ||
7 | .PHONY: docker | 7 | .PHONY: docker |
8 | docker: websocket-proxy | 8 | docker: websocket-proxy |