diff --git a/emscripten_build.sh b/emscripten_build.sh new file mode 100755 index 00000000..b645f356 --- /dev/null +++ b/emscripten_build.sh @@ -0,0 +1,4 @@ +clear +source ./emsdk/emsdk_env.sh +emcmake cmake . +cmake --build . -j 8 \ No newline at end of file diff --git a/emscripten_run.sh b/emscripten_run.sh new file mode 100755 index 00000000..d36a2ee0 --- /dev/null +++ b/emscripten_run.sh @@ -0,0 +1,3 @@ +cp AdventuresInLestoria/play.html ./bin +source ./emsdk/emsdk_env.sh +emrun --no_browser bin/play.html \ No newline at end of file