Skip to content

Commit

Permalink
update README.md to reference webchuck link in web build
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang authored Aug 12, 2024
1 parent 7810365 commit 639d15d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,18 @@ To build chuck using Visual Studio (2019 or later recommended), navigate to `chu

### Web
To compile ChucK to WebAssembly (WASM):

* install the [Emscripten SDK](https://emscripten.org/docs/getting_started/downloads.html) (and activate the SDK version, as instructed in the link)
* before building, enable Emscripten paths and environment variables (e.g., from the `emsdk` directory):
```
source ./emsdk_env.sh
```
* run `make web`:
* navigate to the `chuck/src/` directory, and run `make web`:
```
cd chuck/src
make web
```
This should create `webchuck.wasm` and `webchuck.js` in the `chuck/src/host-web/webchuck/js` directory.
This should create `webchuck.wasm` and `webchuck.js` in the `chuck/src/host-web/webchuck/js` directory. (Also see: [WebChucK](https://github.com/ccrma/webchuck))


## Contributing to ChucK
Expand Down

0 comments on commit 639d15d

Please sign in to comment.