Skip to content

Commit

Permalink
justfile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Oct 22, 2023
1 parent 7aa169e commit d9eb5fd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export CARGO_TERM_COLOR := "always"
#export RUST_BACKTRACE := "1"

@_default:
just --list --unsorted
{{just_executable()}} --list --unsorted

# Start Martin server
run *ARGS:
Expand All @@ -25,7 +25,7 @@ run-release *ARGS: start
# Start Martin server and open a test page
debug-page *ARGS: start
open tests/debug.html # run will not exit, so open debug page first
just run {{ ARGS }}
{{just_executable()}} run {{ ARGS }}

# Run PSQL utility against the test database
psql *ARGS:
Expand Down Expand Up @@ -71,8 +71,8 @@ alias _stop-db := stop

# Restart the test database
restart:
just stop
just start
{{just_executable()}} stop
{{just_executable()}} start

# Stop the test database
stop:
Expand Down Expand Up @@ -176,8 +176,8 @@ coverage FORMAT='html': (cargo-install "grcov")
rustup component add llvm-tools-preview ;\
fi
just clean
just start
{{just_executable()}} clean
{{just_executable()}} start

PROF_DIR=target/prof
mkdir -p "$PROF_DIR"
Expand Down Expand Up @@ -251,8 +251,8 @@ clippy:
git-pre-push: stop start
rustc --version
cargo --version
just lint
just test
{{just_executable()}} lint
{{just_executable()}} test

# Update sqlite database schema.
prepare-sqlite: install-sqlx
Expand Down

0 comments on commit d9eb5fd

Please sign in to comment.