mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-02 22:03:09 +02:00
make: Cache easyjson results.
This commit is contained in:
parent
b6f20b20f2
commit
b95a538e87
4
Makefile
4
Makefile
|
@ -40,7 +40,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"
|
||||||
|
|
||||||
easyjson:
|
./vendor/bin/easyjson:
|
||||||
GOPATH=$(GOPATH) $(GO) get -u github.com/mailru/easyjson/...
|
GOPATH=$(GOPATH) $(GO) get -u github.com/mailru/easyjson/...
|
||||||
|
|
||||||
continentmap.go:
|
continentmap.go:
|
||||||
|
@ -78,7 +78,7 @@ coverhtml: vet common
|
||||||
sed -i "/_easyjson/d" cover.out && \
|
sed -i "/_easyjson/d" cover.out && \
|
||||||
GOPATH=$(GOPATH) $(GO) tool cover -html=cover.out -o coverage.html
|
GOPATH=$(GOPATH) $(GO) tool cover -html=cover.out -o coverage.html
|
||||||
|
|
||||||
%_easyjson.go: %.go easyjson
|
%_easyjson.go: %.go ./vendor/bin/easyjson
|
||||||
PATH=$(shell dirname $(GO)):$(PATH) GOPATH=$(GOPATH) ./vendor/bin/easyjson -all $*.go
|
PATH=$(shell dirname $(GO)):$(PATH) GOPATH=$(GOPATH) ./vendor/bin/easyjson -all $*.go
|
||||||
|
|
||||||
common: \
|
common: \
|
||||||
|
|
Loading…
Reference in a new issue