Skip to content

Commit 09022cd

Browse files
committed
Add docs
1 parent 7923d04 commit 09022cd

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/BUILD.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Build Instruction
2+
3+
1. `npm install`
4+
1. `npm run build`

src/Google/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## How to generate `Sdk.js`, `Sdk.d.ts`
2+
3+
### Prerequisite
4+
* [protobufjs](https://www.npmjs.com/package/protobufjs)
5+
6+
### Steps
7+
8+
1. Get `sdk.proto` from https://github.com/dplusic/GameLift-Server-Protobuf/releases
9+
1. `pbjs -t static-module -w commonjs -o Sdk.js --force-long sdk.proto`
10+
1. `pbts -o Sdk.d.ts Sdk.js`

0 commit comments

Comments
 (0)