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

Add runtime: false to dialyxir dependency #150

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Add runtime: false to dialyxir dependency #150

merged 1 commit into from
Jul 2, 2024

Conversation

janpieper
Copy link
Contributor

dialyxir is meant to be used with runtime: false like shown in their README. Otherwise you get this error:

Warning: the `dialyxir` application's start function was called, which likely means you                                                                                                                              
did not add the dependency with the `runtime: false` flag. This is not recommended because                                                                                                                           
it will mean that unnecessary applications are started, and unnecessary applications are most                                                                                                                        
likely being added to your PLT file, increasing build time.                                                                                                                                                          
Please add `runtime: false` in your `mix.exs` dependency section e.g.:                                                                                                                                               
{:dialyxir, "~> 0.5", only: [:dev], runtime: false}

@RobertDober
Copy link
Owner

Thank you I guess I will release to get rid of the warning. ❤️

@RobertDober RobertDober merged commit 0a46056 into RobertDober:master Jul 2, 2024
5 checks passed
@RobertDober
Copy link
Owner

Thank you I guess I will release to get rid of the warning...

Released v1.4.40

@janpieper janpieper deleted the dialyxir-runtime-false branch July 2, 2024 09:30
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.

2 participants