From e7bd55d20974f4ee5b892cd2e81c62b5c5408920 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 16 Aug 2026 11:30:30 +0200 Subject: refactor(web): extract testable profile logic --- .mise.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.mise.toml') 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" -- cgit v1.2.3