npm install to setup so gen isn't so lengthy to run
ci.vdhsn.com/push Build is failing
Details
ci.vdhsn.com/push Build is failing
Details
parent
89b31a7485
commit
0d8178986f
4
Makefile
4
Makefile
|
|
@ -11,13 +11,13 @@ GOBIN = $(shell go env GOPATH)/bin
|
|||
setup: $(GOBIN)/sqlc $(GOBIN)/buf
|
||||
@awk '{ print $$1 }' .tool-versions | xargs -I {} asdf plugin add {} || true
|
||||
@asdf install || true
|
||||
@cd ./src/web-client && npm i
|
||||
@cd ./src/admin-client && npm i
|
||||
|
||||
.PHONY: gen
|
||||
gen: $(GOBIN)/sqlc buf.lock
|
||||
@$(GOBIN)/sqlc generate -f ./src/sqlc.yaml
|
||||
@cd ./src && $(GOBIN)/buf generate
|
||||
@cd ./src/web-client && npm i
|
||||
@cd ./src/admin-client && npm i
|
||||
|
||||
.PHONY: dev
|
||||
dev: .kubeconfig
|
||||
|
|
|
|||
Loading…
Reference in New Issue