project=demo.PHONY:init# init envinit: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest go install github.com/go-kratos/kratos/cmd/kratos/v2@latest go install github.com/go-kratos/kratos/cmd/protoc-gen-go-http/v2@latest go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest go install github.com/favadi/protoc-go-inject-tag@latest go install github.com/google/wire/cmd/wire@latest go install github.com/cosmtrek/air@latest.PHONY:api# generate api service protoapi:@bash script/gen-api.sh service $(project).PHONY:serviceservice:@bash script/gen-project.sh service $(project).PHONY:runrun:@cd app/service/$(project)&& air -c air.toml.PHONY:build# buildbuild:@cd app/service/$(project)&&mkdir-p bin && go build -o bin/ ./...wire:@cd app/service/$(project)/cmd/$(project)&& wire