From 269cd4970fe9069c26831ba0e2f03246c891e56a Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 21 Feb 2025 17:29:30 +0000 Subject: [PATCH] Add 'test' and 'console' mise tasks --- mise.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mise.toml b/mise.toml index 4ddbc042..c0ac913a 100644 --- a/mise.toml +++ b/mise.toml @@ -47,3 +47,11 @@ run = 'mix do format, credo, gettext.extract' [tasks.static-checks-hook] description = 'Pre-commit task to ensure code conforms to static checks policies' run = 'mix do format --check-formatted, credo --strict, gettext.extract --check-up-to-date' + +[tasks.test] +description = 'Run project tests' +run = 'mix test' + +[tasks.console] +description = 'Run the application attached to an IEx console' +run = 'iex -S mix phx.server'