1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

build: nixify

This commit is contained in:
Rob Ede
2025-04-09 23:20:42 +01:00
parent c5ce3c118e
commit f2c51a8713
21 changed files with 237 additions and 101 deletions

View File

@ -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")]