this repo has no description
0
fork

Configure Feed

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

at 0df5d14ebae17663341d1c0d45fa6082d70ff2fd 88 lines 2.0 kB view raw
1# https://taskfile.dev 2 3# These are the helper commands used for managing/testing the repo. 4 5version: "3" 6 7vars: 8 BIN: "{{.ROOT_DIR}}/bin" 9 10tasks: 11 default: 12 cmd: task --list 13 silent: true 14 ci:full: 15 desc: Run CI locally in containers 16 cmd: act 17 sources: 18 - ./**/* 19 ci: 20 desc: Run CI locally 21 aliases: [ci:local] 22 deps: [audit, fmt, test, clippy, build] 23 nix:ci: 24 desc: Run CI locally under nix 25 aliases: [ci:local] 26 deps: [nix:check, nix:fmt, nix:build] 27 nix:check: 28 desc: Run Nix CI checks 29 sources: 30 - ./**/* 31 cmds: 32 - nix flake check 33 nix:build: 34 desc: Build with Nix 35 cmds: 36 - nix build 37 clippy: 38 desc: Run clippy 39 cmd: cargo clippy 40 clippy:fix: 41 desc: Run clippy and fix errors 42 cmd: cargo clippy --fix --allow-dirty --allow-staged 43 nix:fmt: 44 desc: Run all formatters using treefmt 45 cmds: 46 - nix fmt 47 fmt: 48 desc: Run all formatters 49 sources: 50 - ./**/* 51 cmds: 52 - cargo fmt 53 - alejandra . 54 - prettier --write . 55 test: 56 desc: Run all tests 57 aliases: [t] 58 sources: 59 - ./**/*.rs 60 cmd: cargo nextest run --no-default-features 61 audit: 62 desc: Run cargo security audit 63 sources: 64 - Cargo.lock 65 - flake.lock 66 cmd: cargo audit 67 build: 68 desc: Build the project 69 aliases: [b] 70 sources: 71 - ./**/*.rs 72 - ./Cargo* 73 cmd: cargo build 74 commit: 75 desc: Commit changes using custom script 76 cmd: "{{.BIN}}/commit.sh" 77 test:full: 78 desc: Run comparisons against official tools 79 cmd: "{{.BIN}}/test.sh {{.CLI_ARGS}}" 80 coverage: 81 desc: Run coverage 82 aliases: [cov] 83 # Many tools don't like the file references from `nix build .#coverage`, so we need to run this outside nix 84 cmd: cargo tarpaulin --skip-clean --include-tests --output-dir coverage --out lcov --no-default-features 85 nix:coverage: 86 desc: Create coverage using nix 87 cmds: 88 - nix build .#coverage --out-link coverage