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

Module not compiling when a dependency #22

Closed
oubiwann opened this issue Sep 6, 2015 · 2 comments
Closed

Module not compiling when a dependency #22

oubiwann opened this issue Sep 6, 2015 · 2 comments
Labels

Comments

@oubiwann
Copy link
Member

oubiwann commented Sep 6, 2015

I've got a project where erlang_iso8601 is a dependency (in the project's rebar.config file). When running rebar compile, only the .app.src and unit test file get compile and placed in the ./deps/iso8601/ebin directory:

$ ls -al deps/iso8601/ebin/
total 48
drwxr-xr-x   4 oubiwann  staff    136 Sep  6 15:45 .
drwxr-xr-x  10 oubiwann  staff    340 Sep  6 15:43 ..
-rw-r--r--   1 oubiwann  staff    262 Sep  6 15:45 iso8601.app
-rw-r--r--   1 oubiwann  staff  20244 Sep  6 15:45 iso8601_tests.beam

In order to compile the iso8601.beam file, I have to switch to deps/iso8601 and run rebar compile in that dir.

@oubiwann
Copy link
Member Author

oubiwann commented Sep 6, 2015

Looks like this is due to a discrepancy between two different .app.src files (one in src, one in ebin).

I'll submit a patch.

@oubiwann
Copy link
Member Author

This is fixed now.

@oubiwann oubiwann added the bug label May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant