Skip to content

Commit

Permalink
(mise) refine some tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Jan 1, 2025
1 parent 49b0c8d commit 5ae10d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,19 @@ run = "cargo bench --all-features"
[tasks.lint]
depends = ["install"]
description = "Lint all project files"
sources = ["Cargo.toml", "crates/**/*.toml", "crates/**/*.rs"]
run = [
"clippy --workspace --all-targets --all-features"
]

[tasks.doc]
description = "Generate library documentation"
sources = ["Cargo.toml", "crates/**/*.toml", "crates/**/*.rs"]
run = "cargo doc --all-features"

[tasks.generate-values]
description = "Run code generation to build all CSS style values"
sources = ["./tasks/generate-values/.*-cache.txt", "./tasks/generate-values/mod.ts", "crates/css_ast/src/values/**/*.rs"]
dir = "./tasks/generate-values/"
run = ["deno --allow-net --allow-read --allow-write mod.ts"]

Expand Down

0 comments on commit 5ae10d5

Please sign in to comment.