Home

Awesome

Building

You need to have the dotenv package cloned locally and point your gleam.toml definition to the location. Run the following command to build the code:

gleam build

Running tests

Run the following commands to test the code in each supported runtime:

Node

node ./build/dev/javascript/dot_js_test/gleam.main.mjs

Bun

bun ./build/dev/javascript/dot_js_test/gleam.main.mjs

Deno

deno run --allow-read --allow-env ./build/dev/javascript/dot_js_test/gleam.main.mjs