-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmise.toml
More file actions
51 lines (43 loc) · 1.48 KB
/
mise.toml
File metadata and controls
51 lines (43 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# SPDX-FileCopyrightText: 2025 Adam Poulemanos <89049923+bashandbone@users.noreply.github.com>
#
# SPDX-License-Identifier: LicenseRef-PlainMIT OR MIT
[tools]
act = "latest"
cargo-binstall = "latest"
"cargo:cargo-audit" = "latest" # For auditing dependencies for security vulnerabilities.
"cargo:cargo-deny" = "latest" # For checking licenses and other policies.
"cargo:git-cliff" = "latest"
"cargo:cargo-edit" = "latest"
"cargo:cargo-nextest" = "latest" # For running tests in parallel.
"cargo:cargo-smart-release" = "latest" # For automating releases.
"cargo:cargo-watch" = "latest" # For watching files and rerunning commands.
hk = "latest" # Handles git hooks, like pre-commit.
jq = "latest"
"pipx:reuse" = "latest"
pkl = "latest" # pkl for `hk`, which handles git hooks
rust = "1.89" # The minimum Rust version we support; mise just makes sure it's there.
typos = "latest"
[env]
CARGO_TARGET_DIR = "target"
HK_MISE = 1
[tasks.cleancache]
run = "rm -rf .cache"
hide = true # hide this task from the list
[tasks.clean]
depends = ["cleancache"]
run = "cargo clean" # runs as a shell command
[tasks.build]
description = "Build the CLI"
run = "cargo build"
alias = "b" # `mise run b`
[tasks.test]
description = "Run automated tests"
# multiple commands are run in series
run = "hk run test"
alias = "t" # `mise run t`
[tasks.lint]
description = "Full linting of the codebase"
run = "hk run check"
[tasks.ci] # only dependencies to be run
description = "Run CI tasks"
depends = ["build", "lint", "test"]