mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-11-21 05:05:52 +02:00
сделал .sh
This commit is contained in:
parent
4c4cde148d
commit
011dac013e
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ADAPT_PATH=./
|
||||
PATH_FROM=./
|
||||
PATH_TO=./grpc_proto/
|
||||
|
||||
clear
|
||||
protoc --go_out=${ADAPT_PATH} --go_opt=paths=import --go-grpc_out=${ADAPT_PATH} --go-grpc_opt=paths=import ${ADAPT_PATH}sync_service.proto
|
||||
protoc --go_out=${PATH_TO} --go_opt=paths=import --go-grpc_out=${PATH_TO} --go-grpc_opt=paths=import ${PATH_FROM}sync_service.proto
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
ADAPT_PATH=./
|
||||
PATH_FROM=./
|
||||
PATH_TO=./grpc_proto/
|
||||
|
||||
clear
|
||||
protoc --go_out=${ADAPT_PATH} --nrpc_out=./ --go_opt=paths=import --go-grpc_out=${ADAPT_PATH} --go-grpc_opt=paths=import ${ADAPT_PATH}sync_service.proto
|
||||
protoc --go_out=${PATH_TO} --nrpc_out=./ --go_opt=paths=import --go-grpc_out=${PATH_TO} --go-grpc_opt=paths=import ${PATH_FROM}sync_service.proto
|
||||
|
Loading…
Reference in New Issue
Block a user