From 8395d55fc57ab5384e6ea0ab1350d2cb37fd5c66 Mon Sep 17 00:00:00 2001 From: David Christofas Date: Mon, 15 Feb 2021 17:58:53 +0100 Subject: [PATCH] fix makefile The makefile was missing the assets step before generate. Re-added the assets step which downloads the graph-explorer lib --- graph-explorer/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/graph-explorer/Makefile b/graph-explorer/Makefile index 0808f548eb..ec9d98a354 100644 --- a/graph-explorer/Makefile +++ b/graph-explorer/Makefile @@ -58,7 +58,7 @@ sync: .PHONY: clean clean: go clean -i ./... - rm -rf $(BIN) $(DIST) + rm -rf $(BIN) $(DIST) assets .PHONY: go-mod-tidy go-mod-tidy: @@ -81,7 +81,7 @@ lint: for PKG in $(PACKAGES); do go run golang.org/x/lint/golint -set_exit_status $$PKG || exit 1; done; .PHONY: generate -generate: +generate: assets go generate $(GENERATE) .PHONY: changelog @@ -186,3 +186,6 @@ watch: # .PHONY: protobuf # protobuf: $(GOPATH)/bin/protoc-gen-go $(GOPATH)/bin/protoc-gen-micro $(GOPATH)/bin/protoc-gen-microweb $(GOPATH)/bin/protoc-gen-swagger pkg/proto/v0/example.pb.go pkg/proto/v0/example.pb.micro.go pkg/proto/v0/example.pb.web.go pkg/proto/v0/example.swagger.json + +assets: + mkdir assets/ && curl -slL -o- https://github.com/owncloud/graph-explorer/releases/download/v1.7.10.3/release.tar.gz | tar xvzf - -C assets/