mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
build: nixify
This commit is contained in:
9
justfile
9
justfile
@ -4,13 +4,16 @@ _list:
|
||||
# Format project.
|
||||
[group("lint")]
|
||||
fmt:
|
||||
fd --type=file --hidden --extension=yml --extension=md --extension=js --exec-batch prettier --write
|
||||
fd --hidden --extension=toml --exec-batch taplo format
|
||||
cargo +nightly fmt
|
||||
fd --type=file --hidden --extension=yml --extension=md --extension=js --exec-batch npx -y prettier --write
|
||||
|
||||
# Check project.
|
||||
[group("lint")]
|
||||
check: clippy
|
||||
fd --type=file --hidden --extension=yml --extension=md --extension=js --exec-batch npx -y prettier --check
|
||||
check: && clippy
|
||||
fd --type=file --hidden --extension=yml --extension=md --extension=js --exec-batch prettier --check
|
||||
fd --hidden --extension=toml --exec-batch taplo format --check
|
||||
fd --hidden --extension=toml --exec-batch taplo lint
|
||||
|
||||
# Run Clippy over workspace.
|
||||
[group("lint")]
|
||||
|
Reference in New Issue
Block a user