Skip to content

Commit

Permalink
Create make vendor target
Browse files Browse the repository at this point in the history
  • Loading branch information
isimluk committed Aug 25, 2020
1 parent cdfe6be commit 1aef874
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ all: build
build:
$(GOBUILD) ./cli/gocomply_metaschema

.PHONY: pkger
.PHONY: pkger vendor
pkger:
ifeq ("$(wildcard $(GOPATH)/bin/pkger)","")
go get -u -v github.com/markbates/pkger/cmd/pkger
endif

ci-update-bundled-deps: pkger
pkger -o metaschema/template

vendor:
$(GO) mod tidy
$(GO) mod vendor
$(GO) mod verify

0 comments on commit 1aef874

Please sign in to comment.