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

Set dialyxir and elixir_make to only: :dev #72

Merged
merged 1 commit into from
Aug 20, 2018
Merged

Set dialyxir and elixir_make to only: :dev #72

merged 1 commit into from
Aug 20, 2018

Conversation

mobileoverlord
Copy link
Contributor

runtime_false does not propigate through hex. All hex packages are built using the production environment, therefore, changing the level of dependency to only dev will remove them from the application spec.

@ConnorRigby
Copy link
Member

Should we open an issue on Elixir about this? Weird we have never ran into this issue before.

Also don't we still need elixir_make in prod? just only at build time?

@ConnorRigby
Copy link
Member

confirmed

@mobileoverlord
Copy link
Contributor Author

I updated this to use [:dev, :test] to fix travis

@ConnorRigby
Copy link
Member

But apps using this will use prod. Will that still build?

@mobileoverlord
Copy link
Contributor Author

nerves_runtime doesn't need elixir_make or dialyxir in production

@fhunleth
Copy link
Member

If :elixir_make isn't available for MIX_ENV=prod, then who calls make to build the C code?

@ConnorRigby
Copy link
Member

This is what i was wondering. Does building a dep not build in the env it is configured to run in?

@fhunleth
Copy link
Member

Not to beat a dead horse here, but the line 'compilers: [:elixir_make | Mix.compilers()],' also needs updating if :elixir_make isn't available.

…from getting into prod

runtime_false does not propigate through hex. All hex packages are built using the production environment, therefore, changing the level of dependency to only dev will remove them from the application spec.
@mobileoverlord
Copy link
Contributor Author

This is ready now

@fhunleth fhunleth merged commit da89dd6 into master Aug 20, 2018
@fhunleth fhunleth deleted the fix-deps branch September 30, 2018 14:05
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

3 participants