-
Notifications
You must be signed in to change notification settings - Fork 9
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
rebar2.config is missing from hex. #20
Comments
@fogfish seems there is a problem with mix and rebar.config.script files. On erlkaf we don't include this file into hex package but esq does.. I'm not familiar with mix but I received this pull request from rebar3 author https://github.com/silviucpp/erlkaf/pull/10/files |
Hello @fogfish . It is possible to fix this problem ? It's causing issues to all libraries published on hex that are using your lib as dependency. Silviu |
absolutely! I need to deep dive into syntax of rebar2. Will make adaptation asap. |
A quick fix is to not include that file into hex package. Anyway is pointless as it's related to the ancient rebar2 compatibility. You can specifiy what files to include into the hex using the files property . Example: https://github.com/silviucpp/erlkaf/blob/master/src/erlkaf.app.src Silviu |
Version 2.0.5 is published to hex. Please confirm if the issue is fixed. |
@lud can you please check the last erlkaf from hex ? |
I could not reproduce the same error as before, but I still had an error on esq. Now it seem to compile correctly. I have another error :
But that seems not related to |
Hmm pipes it's a dep of esq.. @fogfish I see you changed the name of dep from pipe to pipes in this last release.. and compilr it's complaining about this. I also see into https://hex.pm/packages/pipes that it says:
|
I can confirm, this works. I tried to override my
And modify
And now the project compiles. |
@fogfish can you please make a fix ? |
Version 2.0.6 is published to hex. Please confirm if the issue is fixed. |
It works with I'll try again when a new version of erlkaf is published by @silviucpp . |
@lud I just published a new package. Please test. |
Yep, project builds correctly! |
This package is a dependency of erlkaf and when erlkaf is build as a dependency in a mix project, there is an error:
If I add the rebar2.config file manually, the error is gone.
I don't know rebar very well, neither management of erl apps in Hex, but would it be a solution to add the rebar2.config file to the hex package?
Thank you
The text was updated successfully, but these errors were encountered: