re-organize crates
This commit is contained in:
parent
1afb7f4e3d
commit
c709fb5851
50 changed files with 148 additions and 121 deletions
16
justfile
16
justfile
|
|
@ -4,16 +4,11 @@ alias rt := run-tui
|
|||
alias s := spacetime
|
||||
alias g := spacetime_generate-bindings
|
||||
|
||||
rrt:
|
||||
just spacetime_restart_dev
|
||||
sleep 3sec
|
||||
just run-tui
|
||||
|
||||
default:
|
||||
just --list
|
||||
|
||||
run-tui:
|
||||
spacetime call jongline "clear_all"
|
||||
spacetime call jong-line "clear_all"
|
||||
cargo run -- run-tui
|
||||
|
||||
update:
|
||||
|
|
@ -24,11 +19,16 @@ spacetime:
|
|||
devenv up
|
||||
|
||||
spacetime_dev:
|
||||
spacetime dev --module-bindings-path jong/src/stdb jongline --delete-data=always
|
||||
spacetime dev --module-bindings-path jong-db/src/db jong-line --delete-data=always
|
||||
|
||||
spacetime_generate-bindings:
|
||||
spacetime generate --lang rust --out-dir jong/src/stdb --project-path spacetimedb
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue