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

Add files and directories not under src/pack #41

Closed
ngocdaothanh opened this issue Jun 26, 2014 · 3 comments
Closed

Add files and directories not under src/pack #41

ngocdaothanh opened this issue Jun 26, 2014 · 3 comments

Comments

@ngocdaothanh
Copy link

README says "You can add other resources in src/pack folder. All resources in this folder will be copied to target/pack."

Is there a way to add files and directories not under src/pack?

@xerial
Copy link
Owner

xerial commented Jul 15, 2014

Sorry for the delay of my response.
The answer is yes. You can use packResourceDir settings:

packResourceDir += "another dir"

https://github.com/xerial/sbt-pack/blob/develop/src/main/scala/xerial/sbt/Pack.scala#L69

@ngocdaothanh
Copy link
Author

Thanks!
I guess many people want to use that, so it's more convenient if you mention it in the README.

xerial added a commit that referenced this issue Jul 15, 2014
@xerial
Copy link
Owner

xerial commented Jul 15, 2014

Thanks. Added a description to README

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

2 participants