Add fmt justfile recipe
This commit is contained in:
4
justfile
4
justfile
@@ -32,6 +32,10 @@ run-in-container *extra_args: app-container-prepare build-container-image-debug
|
|||||||
test *extra_args:
|
test *extra_args:
|
||||||
RUST_BACKTRACE=1 cargo test {{ extra_args }}
|
RUST_BACKTRACE=1 cargo test {{ extra_args }}
|
||||||
|
|
||||||
|
# Formats the code
|
||||||
|
fmt:
|
||||||
|
RUST_BACKTRACE=1 cargo fmt --all
|
||||||
|
|
||||||
# Builds a debug binary (target/debug/*)
|
# Builds a debug binary (target/debug/*)
|
||||||
build-debug *extra_args:
|
build-debug *extra_args:
|
||||||
RUST_BACKTRACE=1 cargo build {{ extra_args }}
|
RUST_BACKTRACE=1 cargo build {{ extra_args }}
|
||||||
|
|||||||
Reference in New Issue
Block a user