In my project I can run the command mix test --color
which adds some colored output to the terminal. I would like to set this globally, so I can just run mix test
and it automatically picks up that I want the output colored.
What I've tried...
- I've searched the online elixir docs about global configuration and global mix configuration.
- I've tried
mix help
too and couldn't see anything about global configuration. - I've tried
mix help test
as well, it doesn't seem clear to me here how to add the option to themix.exs
file, or if it's possible to set global options somewhere.
I feel like this is probably possible, but after not coming up with anything I thought I'd ask here.