You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
779 B
Plaintext

export CARGO_TARGET_DIR := justfile_directory() / "target"
default:
@just --list
# Create a new prototype or full game
# Usage: just new prototypes/new-experiment
# just new foo
new target:
scripts/new {{target}}
# Run a debug build
run target:
scripts/run {{target}}
# Watch for changes and re-run
develop target:
scripts/develop {{target}}
# Clippy check
check target:
scripts/check {{target}}
# Release build
build target:
scripts/build {{target}}
# Format all projects
fmt:
scripts/fmt
# Build a wasm32 release and optimize with wasm-opt; output goes to dist/<target>/
webbuild target:
scripts/webbuild {{target}}
# Serve a built web target from dist/<target>/ via simple-http-server
serve target:
scripts/serve {{target}}