dnsimple / dns_erlang

Erlang DNS library.
Apache License 2.0
95 stars 25 forks source link

Support building with mix #20

Closed reachfh closed 5 years ago

reachfh commented 5 years ago

When building using mix, rebar version is not defined, causing an error with the script:

Error evaluating Rebar config script ./rebar.config.script:9: evaluation failed with reason error:{badmatch,undefined} and stacktrace [{erl_eval,expr,3,[]}]
Any dependencies defined in the script won't be available unless you add them to your Mix project

This change defaults to Rebar 3 in that case.

aeden commented 5 years ago

I believe this will be unnecessary when https://github.com/dnsimple/dns_erlang/pull/21 is merged, can you confirm?

aeden commented 5 years ago

Closing as stale. Please feel to reopen if you feel this change is still needed.