Closed ericentin closed 8 years ago
Unfortunately I am not sure if rebar3 has an option to exclude certain files from the hex package. If you know how to do that, please push a PR.
@saleyn I'm not sure that there is, but currently the package is broken. You could do rm -rf $(git ls-files --others)
to clean the repository before publishing, seems like *.d is already in your .gitignore?
Does a hex package store just the "clean" source code of a project, or it needs to have some other artifacts, such as the the *.beam files?
Just the source code is needed. On May 22, 2016 9:39 AM, "Serge Aleynikov" notifications@github.com wrote:
Does a hex package store just the "clean" source code of a project, or it needs to have some other artifacts, such as the the *.beam files?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/saleyn/erlexec/issues/72#issuecomment-220832967
Getting an error publishing this package to hex. Filed a rebar3 issue https://github.com/erlang/rebar3/issues/1203.
Published the clean version to hex.
Hi @saleyn!
Thanks for the great library. Building via hex dep on OS X is failing currently, because 2 files are present in the c_src dir in the hex package:
ei++.d
andexec.d
. After deleting these files, the build works perfectly. Could you bump the version and publish to hex without those two files?Thanks!