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

allows some folders, files to be added to the hex package #26

Closed
benoitc opened this issue Nov 24, 2015 · 7 comments
Closed

allows some folders, files to be added to the hex package #26

benoitc opened this issue Nov 24, 2015 · 7 comments

Comments

@benoitc
Copy link
Contributor

benoitc commented Nov 24, 2015

I didn't see anyway yet to add some folders to the release. In my case I wanted to add a "support" folder to add some scripts and I wasn't able to include them in the source package except in the priv folder. But in that case such files would be shipped in the release.

Having a folders or packages property in the .app.src for such purpose would be useful IMO. Thoughts?

@ericmj
Copy link
Collaborator

ericmj commented Nov 24, 2015

Check files under "Adding metadata to .app.src". https://hex.pm/docs/rebar3_publish

@benoitc
Copy link
Contributor Author

benoitc commented Nov 24, 2015

ah it isn't documented on rebar3.org :) thanks!

@ericmj
Copy link
Collaborator

ericmj commented Nov 24, 2015

Maybe rebar3.org should link to hex.pm if they don't have full overlap?

@benoitc
Copy link
Contributor Author

benoitc commented Nov 25, 2015

cc @tsloughter it sounds like a good idea. One way or the other would make it easier to track.

@tsloughter
Copy link
Collaborator

Ah, yes.

@benoitc
Copy link
Contributor Author

benoitc commented Dec 5, 2015

Back on this issue. I just tried to use the files property. The annoying thing with it, is that is forcing to collect all the files here (even if we can use the wildcard).

What about adding an extra_files property that would only add extra files and still use the the list retrieved by the plugin? We could also have an exclude_files for that purpose.

Thoughts?

@starbelly
Copy link
Member

Closing this as resolved via #40 . Please re-open if there is other outstanding problems.

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

4 participants