Skip to content

Add compilers option to Mix.install/2 #14577

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

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

Conversation

SteffenDE
Copy link
Contributor

No description provided.

assert_received {:mix_shell, :info, ["==> install_test"]}
assert_received {:mix_shell, :info, ["Compiling 3 files (.ex)"]}
assert_received {:mix_shell, :info, ["Generated install_test app"]}
assert_received {:mix_shell, :info, ["==> mix_install"]}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this line is printed as well.

@@ -884,6 +884,7 @@ defmodule Mix do
config: [],
config_path: nil,
consolidate_protocols: true,
compilers: nil,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
compilers: nil,
compilers: [:elixir],

Maybe can handle the default here (?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

absolutely, I feel a bit stupid now :D

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