diff options
Diffstat (limited to '.mise.toml')
| -rw-r--r-- | .mise.toml | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/.mise.toml b/.mise.toml deleted file mode 100644 index 5ff5424..0000000 --- a/.mise.toml +++ /dev/null @@ -1,52 +0,0 @@ -[tools] -"github:boyter/dcd" = "1.1.0" -go = "1.25.12" -node = "26.6.0" -watchexec = "latest" - -[tasks.generate] -description = "Generate templ Go files" -run = "go tool templ generate" - -[tasks.format] -description = "Format Go sources" -run = "go fmt ./..." - -[tasks.frontend-build] -description = "Compile TypeScript browser assets" -run = "npm run build" - -[tasks.check] -description = "Run formatting, TypeScript and Go gate checks" -depends = ["generate", "format", "frontend-build"] -run = [ - "npm run format:check", - "npm run lint", - "npm run typecheck", - "npm test", - "go vet ./...", - "go build ./...", - "go test ./...", -] - -[tasks.build] -description = "Build the application" -depends = ["frontend-build"] -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" - -[tasks.dev] -description = "Run the web server" -depends = ["frontend-build"] -run = "go run ." - -[tasks.dev-watch] -description = "Regenerate templates, compile TypeScript, and run the web server" -run = ["mise run generate", "mise run frontend-build", "go run ."] |