Can I specify Git URLs as dependencies in Buck?
I am using Buck to build a C++ project.
I would like to add a Git URL (e.g.
email@example.com:owner/project.git) as a dependency so that a build can automatically pull down a library from GitHub. I took a look at
remote_file, but that only seems to work for HTTP, HTTPS and Maven.
Does Buck provide this functionality out-of-the-box?
If so, is it possible to specify a specific commit hash or tag?
One Solution collect form web for “Can I specify Git URLs as dependencies in Buck?”
Buck does not support remote Git URLs.
Your options are:
- Copy the code manually into your project
- Use an equivalent
.zipURL (GitHub gives you these)
- Use submodules, such as in this example
- Use a package manager that supports Buck, such as Buckaroo