mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-04-27 03:31:51 +02:00
make: Fix unnecessary building of easyjson.
This commit is contained in:
parent
156a8a2086
commit
144eefa2fb
4
Makefile
4
Makefile
|
@ -52,7 +52,7 @@ endif
|
|||
hook:
|
||||
[ ! -d "$(CURDIR)/.git/hooks" ] || ln -sf "$(CURDIR)/scripts/pre-commit.hook" "$(CURDIR)/.git/hooks/pre-commit"
|
||||
|
||||
$(GOPATHBIN)/bin/easyjson:
|
||||
$(GOPATHBIN)/easyjson:
|
||||
$(GO) get -u -d github.com/mailru/easyjson/...
|
||||
$(GO) install github.com/mailru/easyjson/...
|
||||
|
||||
|
@ -91,7 +91,7 @@ coverhtml: vet common
|
|||
sed -i "/_easyjson/d" cover.out && \
|
||||
$(GO) tool cover -html=cover.out -o coverage.html
|
||||
|
||||
%_easyjson.go: %.go $(GOPATHBIN)/bin/easyjson
|
||||
%_easyjson.go: %.go $(GOPATHBIN)/easyjson
|
||||
PATH="$(GODIR)":$(PATH) "$(GOPATHBIN)/easyjson" -all $*.go
|
||||
|
||||
common: \
|
||||
|
|
Loading…
Reference in a new issue