Add nix to justfile
This commit is contained in:
parent
4d949ac9e5
commit
c6b4f4949d
3
justfile
3
justfile
@ -12,6 +12,9 @@ run-local-demo *args:
|
|||||||
run-local-persistant-db *args:
|
run-local-persistant-db *args:
|
||||||
cargo run -- --database data.sqlite
|
cargo run -- --database data.sqlite
|
||||||
|
|
||||||
|
run-local-nix *args:
|
||||||
|
nix run '.#default' -- --database data.sqlite
|
||||||
|
|
||||||
sqlx-prepare:
|
sqlx-prepare:
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
if [ ! -f "data.sqlite" ]; then
|
if [ ! -f "data.sqlite" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user