Update gen.bat with -a option

This commit is contained in:
Nex
2020-04-08 00:49:17 +08:00
parent b866dc7fce
commit 51da6d60f4
2 changed files with 10 additions and 6 deletions

View File

@@ -50,8 +50,9 @@ References:
Run:
```bash
./scripts/gen [go] [nodejs] [ts]
./scripts/gen [-a, --async] [go] [nodejs] [ts] [docs]
```
Use `-a` or `--async` to speed up generation by asynchronously and concurrently generating all code and documentation (script will exit without waiting for completion)
#### Generateing documentation
@@ -59,5 +60,5 @@ Install Go then run:
```bash
go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
./scripts/gen docs
./scripts/gen [-a, --async] docs
```