Skip to content
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

mad does not run pre_hooks from dependencies #97

Open
proger opened this issue May 3, 2019 · 0 comments
Open

mad does not run pre_hooks from dependencies #97

proger opened this issue May 3, 2019 · 0 comments

Comments

@proger
Copy link
Contributor

proger commented May 3, 2019

rebar.config:

{deps,
 [{brod,   ".*", {git, "git://github.com/klarna/brod.git",   {tag, "3.7.5"}}}]}.

dep/com log:

~/xient% mad dep
==> dependency: "git://github.com/klarna/brod.git" tag: {tag,"3.7.5"}
==> dependency: "https://github.com/klarna/supervisor3.git" tag: {tag,"1.1.8"}
==> dependency: "https://github.com/klarna/kafka_protocol.git" tag: {tag,
                                                                     "2.2.7"}
==> dependency: "https://github.com/zmstone/snappyer" tag: {tag,"1.2.4"}
==> dependency: "https://github.com/zmstone/crc32cer" tag: {tag,"0.1.3"}
~/xient% mad com
==> "brod"
==> "supervisor3"
==> "kafka_protocol"
==> "snappyer"
==> "crc32cer"
Line 24: warning {undefined_behaviour,brod_group_member} in "/deps/brod/src/brod_cg_commits.erl"
Line 840: warning {unused_var,'State'} in "/deps/brod/src/brod_group_coordinator.erl"
==> "/Users/proger/xient"
OK

The nif had to be compiled manually:

~/xient% (cd deps/crc32cer/; mad com)
 DEPEND crc32cer.d
 C      crc32c.c
 C      crc32c_nif.c
 LD     crc32cer.so
==> "/Users/proger/xient/deps/crc32cer"
OK

Observed on c0fc30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant