jong/justfile
2026-02-19 00:32:27 -08:00

29 lines
649 B
Makefile

set shell := ["nu", "-c"]
alias rt := run-tui
alias s := spacetime
alias g := spacetime_generate-bindings
default:
just --list
run-tui:
just spacetime_restart_dev
sleep 3sec
cargo run -- run-tui
update:
cargo update
devenv update
spacetime:
devenv up
spacetime_dev:
spacetime dev --module-project-path jong-line --module-bindings-path jong-db/src/db jong-line --delete-data=always
spacetime_generate-bindings:
spacetime generate --lang rust --out-dir jong-db/src/db --project-path jong-line
spacetime_restart_dev:
mprocs -s localhost:4050 --ctl $"({c: restart-proc, name: spacetimedb_dev} | to yaml)"