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 apps option to rebar3 commands #538

Merged
merged 1 commit into from
May 8, 2023

Conversation

gonzalobf
Copy link
Contributor

This option allows to specify a list of apps where to run the type check. The list can be specify when running the command or in rebar.config.

This option can be really handy when trying to integrate Gradualizer on big umbrella project. If the project contains a lot of errors, it is possible to enable the type check app by app and fix the errors incrementally.

@erszcz
Copy link
Collaborator

erszcz commented May 8, 2023

Hi, @gonzalobf!

Thanks for the PR - it's a great idea! The CI is almost good, the only non-passing check is Gradualizer itself. Could you take a look at it?

These errors:

ebin/rebar_prv_gradualizer.beam: Undefined remote type rebar_state:t/0 on line 40 at column 9
...

are ignored in https://github.com/josefs/Gradualizer/blob/master/gradualize-ignore.lst - since the line numbers have changed, this file also has to be updated.

This option allows to specify a list of apps where to run the type
check. The list can be specify when running the command or in
`rebar.config`.

This option can be really handy when trying to integrate Gradualizer on
big umbrella project. If the project contains a lot of errors, it is
possible to enable the type check app by app and fix the errors
incrementally.
@gonzalobf
Copy link
Contributor Author

@erszcz Thank you. I think I have fixed the tests. Could you please run the workflow?

@erszcz
Copy link
Collaborator

erszcz commented May 8, 2023

Looks good to me, great stuff!

@erszcz erszcz merged commit fd76514 into josefs:master May 8, 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