mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-09 00:56:32 +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:
|
hook:
|
||||||
[ ! -d "$(CURDIR)/.git/hooks" ] || ln -sf "$(CURDIR)/scripts/pre-commit.hook" "$(CURDIR)/.git/hooks/pre-commit"
|
[ ! -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) get -u -d github.com/mailru/easyjson/...
|
||||||
$(GO) install github.com/mailru/easyjson/...
|
$(GO) install github.com/mailru/easyjson/...
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ coverhtml: vet common
|
||||||
sed -i "/_easyjson/d" cover.out && \
|
sed -i "/_easyjson/d" cover.out && \
|
||||||
$(GO) tool cover -html=cover.out -o coverage.html
|
$(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
|
PATH="$(GODIR)":$(PATH) "$(GOPATHBIN)/easyjson" -all $*.go
|
||||||
|
|
||||||
common: \
|
common: \
|
||||||
|
|
Loading…
Reference in a new issue