Add nix to justfile
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user