saleyn / erlexec

Execute and control OS processes from Erlang/OTP
https://hexdocs.pm/erlexec/readme.html
Other
541 stars 141 forks source link

c_src/*.d files present in hex package #72

Closed ericentin closed 8 years ago

ericentin commented 8 years ago

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 and exec.d. After deleting these files, the build works perfectly. Could you bump the version and publish to hex without those two files?

Thanks!

saleyn commented 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.

ericentin commented 8 years ago

@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?

saleyn commented 8 years ago

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?

ericentin commented 8 years ago

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

saleyn commented 8 years ago

Getting an error publishing this package to hex. Filed a rebar3 issue https://github.com/erlang/rebar3/issues/1203.

saleyn commented 8 years ago

Published the clean version to hex.