After adding dns_erlang as a direct dependency, I'm able to compile, test and run. Although I get the following error:
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
Let me know if I'm doing something wrong or if you need more info. Thanks!
I still need to set up an umbrella app and bring in exdns as a dependency. Once I've done that I'll likely run into the same issue and will fix it (unless you submit a PR to fix it before that).
I'm having issues adding
exdns
as a dependency of another elixir application. Addingdns_erlang
as a direct dependency seems to resolve the issue.I tried the following with Elixir versions
1.2.0
and1.3.2
. I also tried with version0.0.1
and0.0.2
ofexdns
.Here are the relevant parts of my mix file:
Here's the failed compilation output:
After adding
dns_erlang
as a direct dependency, I'm able to compile, test and run. Although I get the following error:Let me know if I'm doing something wrong or if you need more info. Thanks!