This repository contains a series of exercises designed for the "WebAssembly Demystified" Masterclass.
Build the Docker container first
./build.sh
Change the permissions for the "tests" directory, for sharing it between Docker and the host
chmod 777 tests
Start the local webserver and keep it up
./run.sh simple-http-server --nocache
From your browser visit: http://127.0.0.1:8000/tests/test.html
More detailed instructions will be provided during the presentation, but as a general rule tests are built with the following command.
./run.sh /opt/cheerp/bin/clang++ -target cheerp-wasm tests/<test>.cpp -o tests/<test>.js