Update Contributing.md

This commit is contained in:
Stanley Cheung 2018-08-06 18:18:15 -07:00
parent 73639d38e6
commit ffe96acd75
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# How to contribute
We definitely welcome patches and contribution to grpc web! Here is some guideline
We definitely welcome patches and contribution to gRPC-Web! Here is some guideline
and information about how to do so.
## Getting started
@ -15,7 +15,7 @@ In order to protect both you and ourselves, you will need to sign the
The basic build script should run to completion.
```sh
$ ./build.sh
$ ./scripts/kokoro.sh
```
More details to come.

10
scripts/kokoro.sh Normal file → Executable file
View File

@ -19,6 +19,16 @@ cd "$(dirname "$0")"
cd ..
make clean
command -v docker > /dev/null 2>&1 || \
{ echo >&2 "docker is required but not installed. Aborting."; exit 1; }
command -v docker-compose > /dev/null 2>&1 || \
{ echo >&2 "docker-compose is required but not installed. Aborting."; \
exit 1; }
command -v bazel > /dev/null 2>&1 || \
{ echo >&2 "bazel is required but not installed. Aborting."; exit 1; }
command -v npm > /dev/null 2>&1 || \
{ echo >&2 "npm is required but not installed. Aborting."; exit 1; }
docker build -t grpc-web:ubuntu_16_04 \
-f net/grpc/gateway/docker/ubuntu_16_04/Dockerfile .