frontend: remove gen-proto script, replaced by proto package

This commit is contained in:
Patrik Oldsberg
2020-02-05 17:53:02 +01:00
committed by Raghunandan Balachandran
parent 18186f6c4b
commit bd7ebdb4ea
2 changed files with 1 additions and 10 deletions
@@ -22,8 +22,7 @@
},
"scripts": {
"lint": "web-scripts lint",
"test": "web-scripts test",
"proto": "../../../scripts/gen-proto.sh hello.proto"
"test": "web-scripts test"
},
"license": "Apache-2.0"
}
-8
View File
@@ -1,8 +0,0 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
OUT='src/proto'
mkdir -p "$OUT"
exec protoc -I="$DIR/../../protos" --js_out=import_style=commonjs:"$OUT" --grpc-web_out=import_style=commonjs+dts,mode=grpcwebtext:"$OUT" "$@"