summaryrefslogtreecommitdiff
path: root/.mise.toml
diff options
context:
space:
mode:
Diffstat (limited to '.mise.toml')
-rw-r--r--.mise.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.mise.toml b/.mise.toml
index a6e65cb..6c64293 100644
--- a/.mise.toml
+++ b/.mise.toml
@@ -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"