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

wrap: support for existing directories #434

Open
nioncode opened this issue Mar 5, 2016 · 2 comments
Open

wrap: support for existing directories #434

nioncode opened this issue Mar 5, 2016 · 2 comments

Comments

@nioncode
Copy link
Contributor

nioncode commented Mar 5, 2016

It would be nice to have a syntax for a wrap.file that allows to use an already downloaded folder (or mapped network drive or whatever) as subproject source.

somelib.wrap:

[wrap-directory]
directory = somelib
source_directory = /mnt/network/somelib

someother.wrap:

[wrap-directory]
directory = someother
source_directory = ../libs/someother
@jpakkane
Copy link
Member

jpakkane commented Mar 8, 2016

You don't need wrap for that. If you have a subdir (or symlink) with the name foo in your subproject folder, it is used automatically. How you populate it is up to you.

@nioncode
Copy link
Contributor Author

nioncode commented Mar 8, 2016

Sure, I can set this up manually with a symlink.
I can also checkout a git repository or download a tarball and extract it, both of which are supported by wrap.

Also, symlinks are not cross platform portable, e.g. they don't work on Windows when checked out from git. A wrap file would take care of this issue, since it copies the source directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants