Skip to content

Conversation

samaaron
Copy link
Contributor

The *nix equivalent shell script echoes the full erl.exe path and args to stdout when the environment variable ELIXIR_CLI_DRY_RUN is set instead of executing it.

This patch adds this behaviour to the Windows bat file for consistency.

Note that whether or not the user has defined the useWerl env variable is also considered when deciding what to echo.

This patch is based on a conversation with @josevalim at ElixirConfEU 2022 with some minor tweaks :-)

The *nix equivalent shell script echoes the full erl.exe path and args to stdout when the environment variable ELIXIR_CLI_DRY_RUN is set instead of executing it.

This patch adds this behaviour to the Windows bat file for consistency.
@josevalim josevalim merged commit c12f6c1 into elixir-lang:main Jun 10, 2022
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants