-
Notifications
You must be signed in to change notification settings - Fork 177
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 support for rebar3 - remove use of rebar2 port compiler config #135
base: develop
Are you sure you want to change the base?
Conversation
Rebar3 doesn't include a port compiler because it turns out it is too brittle and unportable. Switch to a Makefile via a compile hook instead to make things compatible with both rebar2 and rebar3.
Hrm.
|
It doesn't happen for me, line 32 of the rebar.config seems ok to me? |
Did you try the included rebar or are you using your own rebar? |
I'm using the included one
|
|
Is there some sort of weird character encoding in that rebar file or something? |
I can reproduce this problem on the develop branch by removing the |
|
Adding |
You can now simply add this to your config that lists eleveldb as a dep to be able to build eleveldb: https://gist.github.com/tsloughter/8135f58949e7a3144bf7 But eleveldb's port config stuff is even legacy by rebar2's standards. I had to update @blt's port compiler plugin to support it. Also covered in this PR #84 So something to clean up eleveldb building would be nice whether it is updating the rebar config or going with the Makefile :) |
I'm trying to port some stuff to rebar3 and this is one of the stoppers at the moment 👍 |
Rebar3 doesn't include a port compiler because it turns out it is too
brittle and unportable. Switch to a Makefile via a compile hook instead
to make things compatible with both rebar2 and rebar3.