marinakr/libphonenumber_erlang

Rebar is not supported for easy lib inclusion in project

Closed this issue · 5 comments

The current implementation is hard to include in other projects due to lack of Rebar support (compilation fails when tried)

It is therefore desired to have Rebar support, to just add one liner in rebar.config to start using this great library in other projects:

{libphonenumber_erlang,".*", {git, "https://github.com/marinakr/libphonenumber_erlang.git", {branch, master}}},

Please provide your errors

Pulling libphonenumber_erlang from {git,
"https://github.com/marinakr/libphonenumber_erlang.git",
{branch,master}}
Cloning into 'libphonenumber_erlang'...
ERROR: Dependency dir /Users/etxemag75/project/lib/libphonenumber_erlang failed application validation with reason:
{name_mismatch,{"/Users/etxemag75/project/lib/libphonenumber_erlang/src/libphonenumber_erlang.app.src",
{expected,libphonenumber_erlang},
{has,phone_utils}}}.
ERROR: 'get-deps' failed while processing /Users/etxemag75/project: rebar_abort
make: *** [Makefile:15: get-deps] Error 1

Thank you, will fix it

@etxemag75 fixed. Check branch master

Verified, works great!
You could close this issue now