Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow MIX_ENV/MIX_TARGET settings to pass through #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fhunleth
Copy link

Prior to this change, MIX_ENV=test was forced and any
preferred_cli_env and preferred_cli_target configuration in the
mix.exs would look like it was ignored. In actuality,
preferred_cli_* wasn't ignored, but you'd have to set it on do based
on how ANSI color was enabled.

This change enables ANSI a different way so that the mix target is
passed through and can get the preferred_cli_* settings, if any.
Because of this MIX_ENV doesn't need to be forced any more.

Prior to this change, `MIX_ENV=test` was forced and any
`preferred_cli_env` and `preferred_cli_target` configuration in the
`mix.exs` would look like it was ignored. In actuality,
`preferred_cli_*` wasn't ignored, but you'd have to set it on `do` based
on how ANSI color was enabled.

This change enables ANSI a different way so that the mix target is
passed through and can get the `preferred_cli_*` settings, if any.
Because of this `MIX_ENV` doesn't need to be forced any more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant