diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-11 15:41:21 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-11 15:41:21 +0200 |
| commit | a487d2410b485fe5234ab3066620f2fb999bdd1d (patch) | |
| tree | a98dc213c4b572cad54af770c25edeb358260177 | |
| parent | f4a9078ec716ebaeb561a1e67514440c488d1933 (diff) | |
chore: Add code analysis task
| -rw-r--r-- | .mise.toml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,4 +1,5 @@ [tools] +"github:boyter/dcd" = "1.1.0" go = "1.25.12" watchexec = "latest" @@ -19,6 +20,10 @@ run = "go vet ./... && go test ./..." description = "Build the application" run = "go build -o biking_home ." +[tasks.code-analysis] +description = "Run code analysis tools" +run = "dcd -i go -x '_test.go,templates_templ.go' -m 8 ." + [tasks.migrate] description = "Apply SQLite migrations" run = "DATABASE_URL=sqlite:biking_home.db go tool dbmate up" |