Skip to content

Commit

Permalink
avoid generating code each time for dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
vinay-gopalan committed Jun 10, 2024
1 parent bf72e39 commit a1c7cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ default: dev
# into ./bin/ as well as $GOPATH/bin, except for quickdev which
# is only put into /bin/
.PHONY: quickdev
quickdev: generate
quickdev:
@CGO_ENABLED=0 go build -tags='$(BUILD_TAGS)' -o bin/vault-plugin-secrets-gcp cmd/vault-plugin-secrets-gcp/main.go
.PHONY: dev
dev: fmtcheck generate
dev: fmtcheck
@CGO_ENABLED=0 BUILD_TAGS='$(BUILD_TAGS)' VAULT_DEV_BUILD=1 sh -c "'$(CURDIR)/scripts/build.sh'"
.PHONY: dev-dynamic
dev-dynamic: generate
Expand Down

0 comments on commit a1c7cef

Please sign in to comment.