/gloam-engine

Primary LanguageJavaScriptOtherNOASSERTION

Gloam

Setup

  • Install rust with the nightly channel
  • Install the wasm32 target with rustup target add wasm32-unknown-unknown
  • Install cargo post with cargo install cargo-post
  • To build the web project, install Node.js

Build

Run cargo post build --target wasm32-unknown-unknown --release.

A run configuration is provided for CLion.

Web Project

  • Run cd web
  • Run npm i
  • Run npm run dev

Rebuilding the rust will automatically reload the web project.