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
- Fork it
- Make your development on develop branch (
hg update develop
) (using HgFlow1 is greatly appreciated) - Create new Pull Request