A port of Molinillo (generic dependency resolution algorithm) to Crystal
-
Add the dependency to your
shard.yml
:dependencies: molinillo: github: crystal-lang/crystal-molinillo
-
Run
shards install
require "molinillo"
This was built to be used by Shards. Check MolinilloSolver
for an example of integration.
This code uses a subrepository with test fixtures. Make sure you clone the repository with --recursive
before running tests:
git clone --recursive https://github.com/crystal-lang/crystal-molinillo
- Fork it (https://github.com/crystal-lang/crystal-molinillo/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Juan Wajnerman - creator and maintainer