jong/justfile
2026-02-22 23:20:25 -08:00

32 lines
672 B
Makefile

set shell := ["nu", "-c"]
alias rt := run-tui
alias s := spacetime
alias g := spacetime_generate-bindings
default:
just --list
run-tui:
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)"
rrt:
just spacetime_restart_dev
sleep 3sec
just run-tui