sqlc: add gen-sqlc directive to generate in Makefile

r/paopao-ce-pro
Michael Li 2 years ago
parent c7a79d0226
commit c479250edd
No known key found for this signature in database

@ -69,7 +69,7 @@ windows-x64:
@CGO_ENABLED=$(CGO_ENABLED) GOOS=windows GOARCH=amd64 go build -trimpath -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $(RELEASE_WINDOWS_AMD64)/$(basename $(TARGET)).exe
.PHONY: generate
generate: gen-mir gen-grpc
generate: gen-mir gen-grpc gen-sqlc
.PHONY: gen-mir
gen-mir:

Loading…
Cancel
Save