diff options
Diffstat (limited to '')
-rw-r--r-- | api/Makefile | 6 | ||||
-rw-r--r-- | api/buf.gen.go.yaml (renamed from api/buf.gen.yaml) | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/api/Makefile b/api/Makefile index 81f3748..2e0edd4 100644 --- a/api/Makefile +++ b/api/Makefile @@ -5,15 +5,15 @@ GEN_DIR = gen BUF = buf # Targets -.PHONY: all lint generate generate-js clean +.PHONY: all lint generate-go generate-js clean all: lint generate lint: $(BUF) lint -generate: - $(BUF) generate --template buf.gen.yaml +generate-go: + $(BUF) generate --template buf.gen.go.yaml generate-js: $(BUF) generate --template buf.gen.js.yaml --include-imports diff --git a/api/buf.gen.yaml b/api/buf.gen.go.yaml index 7713112..ae699d9 100644 --- a/api/buf.gen.yaml +++ b/api/buf.gen.go.yaml @@ -5,13 +5,13 @@ managed: - module: buf.build/googleapis/googleapis override: - file_option: go_package_prefix - value: github.com/ansg191/ibd-trader-backend/api/gen + value: github.com/ansg191/ibd-trader/backend/api plugins: - remote: buf.build/protocolbuffers/go - out: gen + out: ../backend/api opt: paths=source_relative - remote: buf.build/grpc/go - out: gen + out: ../backend/api opt: - paths=source_relative inputs: |