From 8c34f4b474e09676da3774b8c95b49bdc17e7d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Vay=C3=A1?= Date: Thu, 23 Jul 2026 12:25:51 +0200 Subject: [PATCH] use mise tooling --- .mise.toml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .mise.toml diff --git a/.mise.toml b/.mise.toml new file mode 100644 index 0000000..1c3cf71 --- /dev/null +++ b/.mise.toml @@ -0,0 +1,43 @@ +[tools] +go = "1.26.4" +node = "24.13.1" + +[env] +GOTOOLCHAIN = "local" +GOBIN = "{{config_root}}/bin" + +[tasks.install-go-tools] +description = "Install Go tools into ./bin using the configured Go toolchain" +run = "make install-go-tools" + +[tasks.check] +description = "Run all style checks" +run = "make check-style" + +[tasks.check-server] +description = "Run server Go vet and golangci-lint checks" +run = "make check-style-server" + +[tasks.check-web] +description = "Run webapp lint and type checks" +run = "make check-style-web" + +[tasks.test] +description = "Run the full test suite" +run = "make test" + +[tasks.test-ci] +description = "Run the CI-optimized test suite" +run = "make test-ci" + +[tasks.build] +description = "Build and bundle the plugin" +run = "make dist" + +[tasks.dev] +description = "Build the server and bundle, then watch webapp assets" +run = "make watch" + +[tasks.deploy] +description = "Build, bundle, and deploy the plugin to the configured Mattermost server" +run = "make deploy"