-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
51 lines (41 loc) · 1.25 KB
/
Copy pathmise.toml
File metadata and controls
51 lines (41 loc) · 1.25 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
[tools]
# `components` pulls in rustfmt + clippy (mise installs rust with rustup's
# minimal profile by default, which omits them).
rust = { version = "1.95.0", components = "rustfmt,clippy" }
[settings]
# Pin tool versions and keep a lockfile so contributors and CI build with the
# same toolchain.
pin = true
lockfile = true
[tasks.build]
run = "cargo build --release"
description = "Build the webview binary (target/release/webview)"
[tasks.bin]
run = "./target/release/webview"
description = "Run the built webview binary"
[tasks.dev]
alias = "webview"
run = "cargo run --"
description = "Run webview from source"
[tasks.typecheck]
alias = ["type-check"]
quiet = true
run = "cargo check --all-targets"
description = "Typecheck the crate"
[tasks.test]
run = "cargo test"
description = "Run tests (window-launch tests skip without a display)"
[tasks.lint]
run = "cargo clippy --all-targets -- -D warnings"
description = "Lint with clippy"
[tasks.format]
alias = "fmt"
run = "cargo fmt"
description = "Format the crate"
[tasks."format:check"]
alias = "fmt:check"
run = "cargo fmt --check"
description = "Check formatting without writing"
[tasks.check]
depends = ["format:check", "lint", "typecheck", "test"]
description = "Run format check, lint, typecheck, and tests"