erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

More helpful error if file:consult fails with .app #894

Closed choptastic closed 2 years ago

choptastic commented 2 years ago

Per discussion, I've removed the reference to the rebar dependency and it will just print an error message related to the missing .app file. I've also changed the phrasing from "unable to read" to "unable to consult." (given that it's a failure to use file:consult on the file in question).

I'm hoping this is better!

In the meantime, I may dig into the rebar3 code to try and catch this error sooner than later (not sure if I'll have time this weekend).

Response to https://github.com/erlware/relx/issues/892

See previous discussion here: https://github.com/erlware/relx/pull/893

choptastic commented 2 years ago

Thanks again for the help!