fix: package name&dir
This commit is contained in:
parent
7c538f4d3f
commit
4a48563ac7
2 changed files with 6 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -1,5 +1,8 @@
|
||||||
|
GEN_DIR=pkg/go/gen
|
||||||
|
|
||||||
gen:
|
gen:
|
||||||
@buf generate proto/tester
|
@buf generate proto/tester -o ${GEN_DIR}/tester
|
||||||
|
@buf generate proto/session -o ${GEN_DIR}/session
|
||||||
dev:
|
dev:
|
||||||
@make gen
|
@make gen
|
||||||
@go run main.go
|
@go run main.go
|
||||||
|
|
|
@ -5,8 +5,8 @@ managed:
|
||||||
default: git.sch9.ru/new_gate/ms-tester/pkg/go/gen/
|
default: git.sch9.ru/new_gate/ms-tester/pkg/go/gen/
|
||||||
plugins:
|
plugins:
|
||||||
- name: go
|
- name: go
|
||||||
out: pkg/go/gen
|
out: /
|
||||||
opt: paths=source_relative
|
opt: paths=source_relative
|
||||||
- name: go-grpc
|
- name: go-grpc
|
||||||
out: pkg/go/gen
|
out: /
|
||||||
opt: paths=source_relative
|
opt: paths=source_relative
|
||||||
|
|
Loading…
Reference in a new issue