-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f6c73d
commit c272718
Showing
2 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Building for the web: | ||
|
||
Mac and Linux (Windows not supported): | ||
|
||
Install Emscripten following the instructions at https://emscripten.org/docs/getting_started/downloads.html | ||
Use the latest version and source the emsdk_env.sh file so you can run commands like emcc, em++ and emmake. | ||
The last time I checked, this looked like: | ||
|
||
``` | ||
$ git clone https://github.com/emscripten-core/emsdk.git | ||
$ cd emsdk | ||
$ ./emsdk install 3.1.24 | ||
$ ./emsdk activate 3.1.24 | ||
$ source ./emsdk_env.sh # you'll need to run this one each time you open a new terminal | ||
``` | ||
|
||
Now back in the endless-sky repo directory run: (maybe you need to install make, wget, and tar first? I figure those should be everywhere already) | ||
|
||
``` | ||
$ make dev | ||
``` |