mirror of
https://github.com/vlang/v.git
synced 2025-09-23 20:37:03 -04:00
ci: fix v check-md examples/2048/
This commit is contained in:
parent
dad93f8fab
commit
88d3326a60
@ -27,7 +27,8 @@ Compile & run the game with `./v run examples/2048`
|
|||||||
|
|
||||||
1. Install Emscripten from https://emscripten.org/docs/getting_started/downloads.html
|
1. Install Emscripten from https://emscripten.org/docs/getting_started/downloads.html
|
||||||
|
|
||||||
2. Make sure that the environment in your shell is setup correctly, i.e. that `emcc --version` works.
|
2. Make sure that the environment in your shell is setup correctly,
|
||||||
|
i.e. that `emcc --version` works.
|
||||||
```sh
|
```sh
|
||||||
. /opt/emsdk/emsdk_env.sh
|
. /opt/emsdk/emsdk_env.sh
|
||||||
emcc --version
|
emcc --version
|
||||||
@ -48,4 +49,5 @@ cp examples/2048/2048 examples/2048/index.js
|
|||||||
emrun examples/2048/index.html
|
emrun examples/2048/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
Once you have run the game, you can make changes, then just recompile (step 3), and refresh the game in your browser.
|
Once you have run the game, you can make changes,
|
||||||
|
then just recompile (step 3), and refresh the game in your browser.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user