From 4265607fbec3b11701ac6ed5083d726893e53cba Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 27 Aug 2026 09:09:36 +0200 Subject: no hidden mise --- .mise.toml | 40 ---------------------------------------- mise.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 .mise.toml create mode 100644 mise.toml diff --git a/.mise.toml b/.mise.toml deleted file mode 100644 index 168c087..0000000 --- a/.mise.toml +++ /dev/null @@ -1,40 +0,0 @@ -[tasks.templates] -description = "Generate templ files" -run = "go tool templ generate" - -[tasks.gettext] -description = "Generate gettext translation files" -run = "go run github.com/martinlehoux/kagamigo/ki18n/cmd/gettext" - -[tasks.check] -description = "Run formatting, static, security, lint, race, and module checks" -run = [ - "gofmt -d -e -s .", - "go vet ./...", - "go tool staticcheck ./...", - "go tool gosec -quiet ./...", - "go tool golangci-lint run", - "go tool govulncheck", - "go test -race ./...", - "go tool revive", - "go mod tidy", - "mise run gettext", -] - -[tasks.tools] -description = "Install development tools" -run = [ - "go get -tool github.com/a-h/templ/cmd/templ", - "go get -tool github.com/amacneil/dbmate", - "go get -tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint", - "go get -tool github.com/securego/gosec/v2/cmd/gosec", - "go get -tool golang.org/x/vuln/cmd/govulncheck", - "go get -tool honnef.co/go/tools/cmd/staticcheck", -] - -[tasks.test] -description = "Run tests and open the coverage report" -run = [ - "go test -v -cover -coverprofile=coverage.out ./...", - "go tool cover -html=coverage.out", -] diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..168c087 --- /dev/null +++ b/mise.toml @@ -0,0 +1,40 @@ +[tasks.templates] +description = "Generate templ files" +run = "go tool templ generate" + +[tasks.gettext] +description = "Generate gettext translation files" +run = "go run github.com/martinlehoux/kagamigo/ki18n/cmd/gettext" + +[tasks.check] +description = "Run formatting, static, security, lint, race, and module checks" +run = [ + "gofmt -d -e -s .", + "go vet ./...", + "go tool staticcheck ./...", + "go tool gosec -quiet ./...", + "go tool golangci-lint run", + "go tool govulncheck", + "go test -race ./...", + "go tool revive", + "go mod tidy", + "mise run gettext", +] + +[tasks.tools] +description = "Install development tools" +run = [ + "go get -tool github.com/a-h/templ/cmd/templ", + "go get -tool github.com/amacneil/dbmate", + "go get -tool github.com/golangci/golangci-lint/v2/cmd/golangci-lint", + "go get -tool github.com/securego/gosec/v2/cmd/gosec", + "go get -tool golang.org/x/vuln/cmd/govulncheck", + "go get -tool honnef.co/go/tools/cmd/staticcheck", +] + +[tasks.test] +description = "Run tests and open the coverage report" +run = [ + "go test -v -cover -coverprofile=coverage.out ./...", + "go tool cover -html=coverage.out", +] -- cgit v1.3