mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-13 07:37:17 +03:00
parent
a9603fba7d
commit
d2f08490f7
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ KEY = host_key
|
||||
PORT = 2022
|
||||
|
||||
SRCS = %.go
|
||||
VERSION := $(shell git describe --tags --dirty --always)
|
||||
VERSION := $(shell git describe --tags --dirty --always 2> /dev/null || echo "dev")
|
||||
LDFLAGS = LDFLAGS="-X main.Version=$(VERSION)"
|
||||
|
||||
SUBPACKAGES := $(shell go list ./... | grep -v /vendor/)
|
||||
|
Loading…
x
Reference in New Issue
Block a user