Skip to content

Commit

Permalink
correct deploy workflows by renaming generate target (#338)
Browse files Browse the repository at this point in the history
In #337, we
reference `make generate` like in the autograph repo.

But here that was called `make version.json`. For consistency, and any
possible (though, unlikely) additions to what needs to be generate, we
rename the make target to `generate` and leave the deploy workflow
alone.
  • Loading branch information
jmhodges authored Nov 19, 2024
1 parent 2303dd5 commit 864c3a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ GO := GO111MODULE=on go

all: lint vet test install

version.json:
generate:
$(GO) generate

install: version.json
install: generate
$(GO) install .
test: version.json
test: generate
MOCK_AUTOGRAPH_CALLS=1 $(GO) test -v -count=1 -covermode=count -coverprofile=coverage.out .
showcoverage: test
$(GO) tool cover -html=coverage.out
Expand Down

0 comments on commit 864c3a9

Please sign in to comment.