diff --git a/examples/.gitignore b/examples/.gitignore index 5b26ccf0..2a0c6b29 100644 --- a/examples/.gitignore +++ b/examples/.gitignore @@ -1,2 +1,3 @@ +*.wast *.wasm node_modules/ diff --git a/examples/game-of-life/README.md b/examples/game-of-life/README.md index 636a3dd4..ff681b4b 100644 --- a/examples/game-of-life/README.md +++ b/examples/game-of-life/README.md @@ -6,10 +6,10 @@ An AssemblyScript example. Instructions ------------ -To build `assembly/game-of-life.ts` to `game-of-life.wasm`, run: +To build [assembly/game-of-life.ts](./assembly/game-of-life.ts) to an untouched and an optimized `.wasm` including their respective `.wast` representations, run: ``` $> npm run build ``` -Afterwards, open `game-of-life.html` in a browser (ideally one that allows `fetch`ing the `.wasm` from the local filesystem). +Afterwards, open [game-of-life.html](./game-of-life.html) in a browser (ideally one that allows `fetch`ing the `.wasm` from the local filesystem). diff --git a/examples/game-of-life/game-of-life.html b/examples/game-of-life/game-of-life.html index a7c8486d..bab8e5a9 100644 --- a/examples/game-of-life/game-of-life.html +++ b/examples/game-of-life/game-of-life.html @@ -1,7 +1,7 @@