add typescript and go generate
Some checks failed
Publish NPM Package / Publish Job (push) Failing after 1m39s
Some checks failed
Publish NPM Package / Publish Job (push) Failing after 1m39s
This commit is contained in:
14
scripts/ganerate-go.sh
Normal file
14
scripts/ganerate-go.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Generating Go protobuf code..."
|
||||
|
||||
protoc -I ./proto \
|
||||
--go_out=./gen/go \
|
||||
--go_grpc_out=./gen/go \
|
||||
--go_opt=module=git.lendry.ru/glifa/contracts \
|
||||
--go_grpc_opt=module=git.lendry.ru/glifa/contracts \
|
||||
./proto/*.proto
|
||||
|
||||
echo "Go protobuf code generated successfully in ./gen/go"
|
||||
Reference in New Issue
Block a user