mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-11-18 02:52:44 +03:00
Update Makefile to new ldflags syntax
This commit is contained in:
1 parent
64335f33d7
commit
f8601c1b90
2 files changed
+3
-1
No files matched your search
@@ -1,4 +1,6 @@
|
||||
/build
|
||||
host_key
|
||||
host_key.pub
|
||||
ssh-chat
|
||||
*.log
|
||||
.*
|
||||
@@ -7,7 +7,7 @@ SRCS = %.go
|
||||
all: $(BINARY)
|
||||
|
||||
$(BINARY): deps **/**/*.go **/*.go *.go
|
||||
go build -ldflags "-X main.buildCommit `git describe --long --tags --dirty --always`" ./cmd/ssh-chat
|
||||
go build -ldflags "-X main.buildCommit=`git describe --long --tags --dirty --always`" ./cmd/ssh-chat
|
||||
|
||||
deps:
|
||||
go get ./...
|
||||
|
||||
Reference in new issue
Block a user