mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
2f3a482ade
* not working * test ci * correct path * test * test * test * remove k8s & test * test * test image * typo * test * fix * test * fix * test * fix * fix windows * fix * fix * fix codecov * fix with arch * test * test * test * test * trial * trial * trial * trial * trial * trial * trial * try * try * first improvement * trial * improve * improve * improve * use bash * trial * random test * wip * test with goreleaser and semrel * fix typo * trial * add buildx * define default * force buildkit * use buildx * debug GH docker * use images * debug docker * work around image name issues * trial * test * test with prebuilt image * fix * use load * test * use only docker * trial * test * use load * test * test with docker driver * trial * trial * trial * use arm * upload artifacts * try to cache grpc base * try to use a cache * fall back * test * fix * improve * upload artifacts * fix * name things * add tag if poc * args for protos * remove v2 build Co-authored-by: Livio Amstutz <livio.a@gmail.com>
17 lines
348 B
Bash
Executable File
17 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
GEN_PATH=src/app/proto/generated
|
|
|
|
echo "Create folders"
|
|
mkdir -p $GEN_PATH
|
|
|
|
echo "Generate grpc"
|
|
|
|
protoc \
|
|
-I=/proto/include \
|
|
-I=node_modules/google-proto-files \
|
|
--js_out=import_style=commonjs,binary:$GEN_PATH \
|
|
--grpc-web_out=import_style=typescript,mode=grpcweb:$GEN_PATH \
|
|
$(find /proto/include -iname "*.proto") |