ceifa / wasmoon

A real lua 5.4 VM with JS bindings made with webassembly
MIT License
462 stars 27 forks source link

Build Instructions #49

Closed mwenge closed 1 year ago

mwenge commented 2 years ago

Hi there,

You don't have any build instructions?

ceifa commented 2 years ago

Hey, the build process it's very easy but I didn't write it anywhere yet. The main problem today is that you need to be on linux to build, I will probably fix it before writing a How to build section

dubiousjim commented 1 year ago

Hi, even having just a log of your build steps on Linux would be useful.

ceifa commented 1 year ago

Firstly you need to install emscripten and ensure it is on your PATH.

After cloned the repo, to build you just have to run these:

git submodule update --init # download lua submodule
npm i # install dependencies
npm run build:wasm:dev # build lua
npm run build # build the js code/bridge
npm test # ensure everything itss working fine
dubiousjim commented 1 year ago

Thanks