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 :no-umbrella config option #481

Merged
merged 1 commit into from
Mar 19, 2023
Merged

Conversation

pnezis
Copy link
Contributor

@pnezis pnezis commented Mar 10, 2023

In some cases you may want to place the lockfile in a parent folder without having an umbrella. With this extra option you avoid compilation at the parent folder which will fail since in such cases there is no mix.exs. If this flag is not set then the behaviour remains unchanged.

@jeremyjh
Copy link
Owner

Hi, thanks for contributing this, but having it as a CLI option seems a little bit inconvenient since it is a fact about the project configuration that will never change between invocations. I think it might be better to have it as a configuration option specified in the dialyzer options section of the project config in mix.exs.

In some cases you may want to place the `lockfile` in a parent folder
without having an umbrella. With this extra option you avoid compilation
at the parent folder which will fail since in such cases there is no
`mix.exs`. If this flag is not set then the behaviour remains unchanged.
@pnezis pnezis changed the title Add --no-umbrella option Add :no-umbrella config option Mar 14, 2023
@pnezis
Copy link
Contributor Author

pnezis commented Mar 14, 2023

@jeremyjh you are right, updated the PR accordingly

@jeremyjh jeremyjh enabled auto-merge March 14, 2023 18:41
@jeremyjh jeremyjh disabled auto-merge March 19, 2023 17:59
@jeremyjh jeremyjh merged commit 8073eaa into jeremyjh:master Mar 19, 2023
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