You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: