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 modules listing to the app.src file #10

Closed
wants to merge 1 commit into from

Conversation

doubleyou
Copy link
Contributor

Newest rebar requires modules listing in the app file by default. Also, might be useful for OTP releases.

@uwiger
Copy link
Owner

uwiger commented Nov 16, 2011

Are you sure about this? I'm running the latest rebar, and it still auto-builds the modules attribute.

@doubleyou
Copy link
Contributor Author

Weird. Perhaps, you have {validate_app_modules, false} somewhere. Take a look at https://github.com/basho/rebar/blob/master/src/rebar_otp_app.erl#L57 , it uses this validation by default.

Come to think of it, maybe instead we should can ask @dizzyd to make this behave in the old style, replacing the default value from 'true' to 'false'.

@dizzyd
Copy link

dizzyd commented Nov 17, 2011

When using a .app.src file the validation should happen AFTER rebar has generated a list of modules for you. I verified this works as expected just now with current rebar HEAD.

This PR is unnecessary.

@uwiger
Copy link
Owner

uwiger commented Nov 17, 2011

Ok, thanks, Dizzy. I will follow your recommendation then.

@uwiger uwiger closed this Nov 17, 2011
chenyifan96 pushed a commit to chenyifan96/gproc that referenced this pull request Jan 20, 2021
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.

3 participants