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

rebar3 compile doesn't run the makefile #55

Open
muszbek opened this issue Oct 22, 2019 · 0 comments
Open

rebar3 compile doesn't run the makefile #55

muszbek opened this issue Oct 22, 2019 · 0 comments

Comments

@muszbek
Copy link

muszbek commented Oct 22, 2019

How did I encounter the issue?

I used erlport as a git dependency in the rebar.config of my erlang project.
Running my project throws an error when erlport tries to open python3.
Turns out python3 only works after the erlport project has been built with the makefile.

Temporary fix

For the moment I have to enter the directory of erlport (which is a dependency of my project) and manually run 'make'.
Alternatively I could script it in my root project to build the dependency, but this solution smells.

Suggestion

Building erlport can be automatized by rebar3, by adding a pre-compile hook in the rebar3.config.
This way all rebar3 projects that use erlport as a dependency will build it automatically after fetching it from git.

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

No branches or pull requests

1 participant