diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-16 11:30:30 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-16 11:30:30 +0200 |
| commit | e7bd55d20974f4ee5b892cd2e81c62b5c5408920 (patch) | |
| tree | 4e0aa6c107d7096962beffdd491814805a350a89 /.mise.toml | |
| parent | 3e1c6f9c0056c488f51dc2e13d6ddf5365adb312 (diff) | |
refactor(web): extract testable profile logic
Diffstat (limited to '.mise.toml')
| -rw-r--r-- | .mise.toml | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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" |