summaryrefslogtreecommitdiff
path: root/.mise.toml
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 11:30:30 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-16 11:30:30 +0200
commite7bd55d20974f4ee5b892cd2e81c62b5c5408920 (patch)
tree4e0aa6c107d7096962beffdd491814805a350a89 /.mise.toml
parent3e1c6f9c0056c488f51dc2e13d6ddf5365adb312 (diff)
refactor(web): extract testable profile logic
Diffstat (limited to '.mise.toml')
-rw-r--r--.mise.toml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.mise.toml b/.mise.toml
index 6c64293..785f457 100644
--- a/.mise.toml
+++ b/.mise.toml
@@ -12,9 +12,15 @@ description = "Format Go sources"
run = "go fmt ./..."
[tasks.check]
-description = "Run generation, vet, and tests"
+description = "Run formatting, JavaScript and Go gate checks"
depends = ["generate", "format"]
-run = "go vet ./... && go test ./..."
+run = [
+ "for file in web/static/*.js; do node --check \"$file\"; done",
+ "node --test web/static_test/*.test.js",
+ "go vet ./...",
+ "go build ./...",
+ "go test ./...",
+]
[tasks.build]
description = "Build the application"