dirimere 0.5.0
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:
Dirimere
A tool for D language that installs dependencies from arbitrary git repos/branches locally.
Based on work by Timur Gafarov.
Usage
- Create a
dirimere.json
file in your Dub project. It should look like this:
[
{"name": "alyx2", "version": "v0.13.0", "url" : "git@gitlab.com:o3o_d/alyx2.git"},
{"name": "bindbc-raylib", "version": "0.1.0", "url" : "git@github.com:o3o/bindbc-raylib.git"}
]
- Modify your dub file on order to use
.mirror
//dub.sdl
dependency "alyx2:db" path="./.mirror/alyx2-0.13.0"
- Install
dirimere
and run it:
dub fetch dirimere
dub run dirimere
It will create .mirror
folder and clone the repositories. It is recommended to add .mirror
folder to .gitignore
.
- Build your project with Dub as usual.
Json file
name
Name of package. Will be used to create the path where the gits get cloned to.
version
Version of package. Will be used to get the tag and create the path where the gits get cloned to.
Must be vm.n.p
or m.n.p
. (examples v0.1.0
, 1.5.0
, etc)
url
Repository URL.
References
- 0.5.0 released 4 years ago
- o3o/dirimere
- boost
- Copyright © 2020, o3o
- Authors:
- Dependencies:
- none
- Versions:
-
0.5.0 2020-Jul-03 0.4.0 2020-Apr-27 0.3.0 2020-Apr-27 0.2.0 2020-Mar-17 0.1.0 2020-Mar-17 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
10 downloads total
-
- Score:
- 0.8
- Short URL:
- dirimere.dub.pm