Code Monkey home page Code Monkey logo

dirimere's Introduction

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" : "[email protected]:o3o_d/alyx2.git"},
   {"name": "bindbc-raylib", "version": "0.1.0", "url" : "[email protected]:o3o/bindbc-raylib.git"}
]
  1. Modify your dub file on order to use .dirimere
//dub.sdl
dependency "alyx2:db" path="./.dirimere/alyx2-0.13.0"
  1. Install dirimere and run it:
dub fetch dirimere
dub run dirimere

It will create .dirimere folder and clone the repositories. It is recommended to add .dirimere folder to .gitignore.

  1. Build your project with Dub as usual.

Json file

dirimere.json is an array of Json objects. Each object has the following values

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

dirimere's People

Contributors

o3o avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.