Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 662 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 662 Bytes

Damasc Workspace

How to use

Running Tests

cargo test

Run REPL

cargo run --bin damasc-cli

Run HTTP Server

cargo run --bin damasc-http

Run as WASM in Browser

Requires cargo install cargo-server to run local webserver

wasm-pack build damasc-wasm --target web --out-dir public/wasm
cargo server --open --path damasc-wasm/public

WASM with Cargo Watch

Requires cargo install cargo-watch

cargo watch -- wasm-pack build damasc-wasm --target web --out-dir public/wasm

Run Code Formatter and Linter

cargo clippy --fix --allow-dirty
cargo fmt