Giter Club home page Giter Club logo

dependency-resolver's Introduction

Dependency Resolver

A simple language independent dependency resolver that supports multiple registries to pull from.

In most cases you have the need to pull some dependencies (lib files for C++, JAR files for Java, ...) in order to build the software. In order to keep my build scripts simple, I want to have a single file that defines all my dependencies and then run a simple command

dep

in order to retrieve all dependencies. So I can fairly simple include this command in my build scripts.

Configuration

In order to configure dep, create a file called config.yml or config.toml or config.json in one of the following directories:

  • $Home/.deprc
  • ./.deprc

Here is an example config file:

# Where to find the 7z executable
SevenZipExecutable: /your/path/to/7zip
# The directory name where you want to extract your dependencies
DependencyDirectory: dep
# The repositories where to search for your dependencies
Repositories: [
  'https://some.de/url/endpoint',
  '/or/a/local/directory'
]

You then define your dependencies in a .dep file in your project directory:

# Each line defines a single dependency that should be resolved.
# A dependency is defined by a name and an version. If no version is
# given, the latest version will be installed.
mmf 2.1
pe 1.0
libdmtx 0.7.4

Then execute dep and all your dependencies will be downloaded in the dep folder.

dependency-resolver's People

Contributors

mirhec avatar

Stargazers

 avatar  avatar

Watchers

 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.