mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-15 00:20:37 +03:00
Have $(BINARY) depend on the deps
target
This fixes `make build` on systems that haven't downloaded the dependencies yet.
This commit is contained in:
parent
ebd08408d1
commit
6af6d4d23a
2
Makefile
2
Makefile
@ -6,7 +6,7 @@ SRCS = %.go
|
|||||||
|
|
||||||
all: $(BINARY)
|
all: $(BINARY)
|
||||||
|
|
||||||
$(BINARY): **/**/*.go **/*.go *.go
|
$(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:
|
deps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user