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