DependencyWiring

Pay attention! Very alpha development stage

Many times I had to manage dependencies versioning for build chains that didn't implement a proper dependencies management process.

Sometimes I wrote a ruby script to automatically fetch them, sometimes I used mercurial suberepositories and sometimes I also added them under my own revision control system :(

Now DependecyWiring is here. It know nothing about your build chain, it only needs to know sources and destinations!

Installation

Install it yourself as:

$ gem install dependency_wiring

Usage

Create a file named deps.dw in the root of your project, it's plain ruby but you can use a simple DSL to define your dependencies.

mount "/home/nolith/projects/libs/js/jquery-1.78", "deps/jquery"
hg 'https://bitbucket.org/yujiewu/hgflow', 'deps/lib1', tag: 'v0.9.5'
git 'git://github.com/rails/rails.git', 'deps/rails', branch: '3-2-stable'

Now simply execute dw wire and you are done ;)

Contributing

  1. Fork it
  2. Make your development on develop branch (hg update develop) (using HgFlow1 is greatly appreciated)
  3. Create new Pull Request