diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ $(SERVER_BINARY): $(SERVER_FILES) | |||
9 | @mkdir clients/ || true | 9 | @mkdir clients/ || true |
10 | @touch clients/keep | 10 | @touch clients/keep |
11 | CGO_ENABLED=0 go build \ | 11 | CGO_ENABLED=0 go build \ |
12 | -ldflags "-X main.appVersion=$(shell git describe --long --tags --dirty --always) \ | 12 | -ldflags "-X main.version=$(shell git describe --long --tags --dirty --always) \ |
13 | -X code.crute.us/mcrute/ssh-proxy/cmd/client.clientId=$(CLIENT_ID)" \ | 13 | -X code.crute.us/mcrute/ssh-proxy/cmd/client.clientId=$(CLIENT_ID)" \ |
14 | -o $@ | 14 | -o $@ |
15 | 15 | ||
@@ -19,7 +19,7 @@ client: | |||
19 | 19 | ||
20 | CGO_ENABLED=0 go build \ | 20 | CGO_ENABLED=0 go build \ |
21 | -tags clientonly \ | 21 | -tags clientonly \ |
22 | -ldflags "-X main.appVersion=$(shell git describe --long --tags --dirty --always) \ | 22 | -ldflags "-X main.version=$(shell git describe --long --tags --dirty --always) \ |
23 | -X code.crute.us/mcrute/ssh-proxy/cmd/client.clientId=$(CLIENT_ID) \ | 23 | -X code.crute.us/mcrute/ssh-proxy/cmd/client.clientId=$(CLIENT_ID) \ |
24 | -s -w" \ | 24 | -s -w" \ |
25 | -o $(OUTFILE) | 25 | -o $(OUTFILE) |