Add fmt justfile recipe

This commit is contained in:
Slavi Pantaleev
2025-02-27 09:31:26 +02:00
parent 7e66068b16
commit 05902f4c17

View File

@@ -32,6 +32,10 @@ run-in-container *extra_args: app-container-prepare build-container-image-debug
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/*)
build-debug *extra_args:
RUST_BACKTRACE=1 cargo build {{ extra_args }}