this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: Taskfile fixups

+26 -26
+26 -26
Taskfile.yml
··· 2 2 3 3 # These are the helper commands used for managing/testing the repo. 4 4 5 - version: "3" 5 + # 3.17 is required to use aliases in the Taskfile. 6 + version: "3.17" 6 7 7 8 vars: 8 9 BIN: "{{.ROOT_DIR}}/bin" ··· 17 18 ci: 18 19 desc: Run CI locally 19 20 aliases: [ci:local] 20 - deps: [audit, fmt, test, clippy, build] 21 - nix:ci: 22 - desc: Run CI locally under nix 23 - aliases: [ci:local] 24 - deps: [nix:check, nix:fmt, nix:build] 25 - nix:check: 26 - desc: Run Nix CI checks 27 - cmds: 28 - - nix flake check 29 - nix:build: 30 - desc: Build with Nix 31 - cmds: 32 - - nix build 21 + deps: [audit, fmt, test, clippy, build, build:release] 33 22 clippy: 34 23 desc: Run clippy 35 - cmd: cargo clippy 24 + cmd: cargo clippy --all-targets --all-features -- -D warnings 36 25 clippy:fix: 37 26 desc: Run clippy and fix errors 38 - cmd: cargo clippy --fix --allow-dirty --allow-staged 39 - nix:fmt: 40 - desc: Run all formatters using treefmt 41 - cmds: 42 - - nix fmt 27 + cmd: cargo clippy --fix --allow-dirty --allow-staged --all-targets --all-features 43 28 fmt: 44 29 desc: Run all formatters 45 30 cmds: 46 31 - cargo fmt 47 32 - alejandra . 48 33 - prettier --write . 49 - test: 50 - desc: Run all tests 51 - aliases: [t] 52 - cmd: cargo nextest run --no-default-features 53 34 audit: 54 35 desc: Run cargo security audit 55 36 sources: ··· 60 41 desc: Build the project 61 42 aliases: [b] 62 43 cmd: cargo build 44 + build:release: 45 + desc: Build the project in release mode 46 + aliases: [b:release] 47 + cmd: cargo build --release 63 48 commit: 64 49 desc: Commit changes using custom script 65 50 cmd: "{{.BIN}}/commit.sh" 51 + test: 52 + desc: Run all tests 53 + aliases: [t] 54 + cmd: cargo nextest run --no-default-features 66 55 test:full: 67 56 desc: Run comparisons against official tools 68 57 cmd: "{{.BIN}}/test.sh {{.CLI_ARGS}}" ··· 73 62 cmd: cargo tarpaulin --skip-clean --include-tests --output-dir coverage --out lcov --no-default-features 74 63 nix:coverage: 75 64 desc: Create coverage using nix 76 - cmds: 77 - - nix build .#coverage --out-link coverage 65 + cmd: nix build .#coverage --out-link coverage 66 + nix:ci: 67 + desc: Run CI locally under nix 68 + deps: [nix:check, nix:fmt, nix:build] 69 + nix:check: 70 + desc: Run Nix CI checks 71 + cmd: nix flake check 72 + nix:build: 73 + desc: Build with Nix 74 + cmd: nix build 75 + nix:fmt: 76 + desc: Run all formatters using treefmt 77 + cmd: nix fmt