dirimere 0.5.0

Local dependencies for dub projects.


To use this package, run the following command in your project's root directory:

Dirimere

A tool for D language that installs dependencies from arbitrary git repos/branches locally.

Based on work by Timur Gafarov.

Usage

  1. 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"}
]
  1. Modify your dub file on order to use .mirror
//dub.sdl
dependency "alyx2:db" path="./.mirror/alyx2-0.13.0"
  1. 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.

  1. 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

Authors:
  • Orfeo Da Vià
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
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
0.5
Short URL:
dirimere.dub.pm