Add support for rebar3 - remove use of rebar2 port compiler config#135
Add support for rebar3 - remove use of rebar2 port compiler config#135Vagabond wants to merge 1 commit intobasho:developfrom helium:adt-rebar3
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.