resolve 0.0.2
Local dependencies for dub projects
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Resolve
A tool for D language that installs dependencies from arbitrary git repos/branches locally and points dub.selections.json
to them. This helps to work on the project and its dependencies simultaneously without pushing.
Usage
- Create a
dependencies.json
file in your Dub project. It should look like this:
{
"git": {
"dagon": ["https://github.com/gecko0307/dagon", "master"],
"dagon:nuklear": ["https://github.com/gecko0307/dagon", "master"],
"dagon:ftfont": ["https://github.com/gecko0307/dagon", "master"],
"dlib": ["https://github.com/gecko0307/dlib", "v0.17.0"],
"bindbc-loader": ["https://github.com/BindBC/bindbc-loader", "v0.2.1"],
"bindbc-opengl": ["https://github.com/BindBC/bindbc-opengl", "v0.8.0"],
"bindbc-sdl": ["https://github.com/BindBC/bindbc-sdl", "v0.8.0"],
"bindbc-freetype": ["https://github.com/BindBC/bindbc-freetype", "v0.5.0"],
"bindbc-nuklear": ["https://github.com/Timu5/bindbc-nuklear", "v0.3.1"],
"bindbc-assimp": ["https://github.com/Sobaya007/bindbc-assimp", "v0.0.1-beta1"]
}
}
- Install Resolve and run it:
dub fetch resolve
dub run resolve
It will create .resolve
folder, clone the repositories and update dub.selections.json
. It is recommended to add .resolve
folder to .gitignore
.
- Build your project with Dub as usual.
Limitations
Currently Resolve doesn't traverse dependency tree, you have to include everything to dependencies.json
manually.
- Registered by Timur Gafarov
- 0.0.2 released 5 years ago
- gecko0307/resolve
- github.com/gecko0307/resolve
- Boost
- Authors:
- Dependencies:
- none
- Versions:
-
0.0.3 2020-Jan-22 0.0.2 2019-Dec-24 0.0.1 2019-Dec-21 ~master 2020-Jan-22 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
13 downloads total
-
- Score:
- 1.1
- Short URL:
- resolve.dub.pm