Skip to content

Commit 3c8d88d

Browse files
committed
Add list and format commands to justfile
- Introduced a new 'list' command to display available just tasks. - Added a 'format' command to run cargo fmt for code formatting.
1 parent c495918 commit 3c8d88d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ set shell := ["pwsh", "-c"]
44
alias b := build
55
alias d := develop
66

7+
list:
8+
@ just --list
9+
710
build_32:
811
cargo build --target=i686-pc-windows-msvc --release
912
Copy-Item -Force -Path "target\i686-pc-windows-msvc\release\*.dll" -Destination "lv_src\lv_reqwest_32.dll"
@@ -28,6 +31,9 @@ check:
2831
cargo fmt -- --check
2932
cargo clippy
3033

34+
format:
35+
cargo fmt
36+
3137
develop_windows:
3238
@ Write-Host "Installing Rust Windows targets..."
3339
@ rustup target add i686-pc-windows-msvc

0 commit comments

Comments
 (0)