Add 'test' and 'console' mise tasks

This commit is contained in:
Claudio Ortolina
2025-02-21 17:29:30 +00:00
parent 889ba61e4c
commit 269cd4970f
+8
View File
@@ -47,3 +47,11 @@ run = 'mix do format, credo, gettext.extract'
[tasks.static-checks-hook] [tasks.static-checks-hook]
description = 'Pre-commit task to ensure code conforms to static checks policies' 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' 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'