This project was created by a developer from Ukraine.

Russia has invaded Ukraine and already killed tens of thousands of civilians, with many more raped or tortured.

The death toll keeps climbing. It's a genocide. We need your help. Let's fight back against the Russian regime.

Support Ukraine

#StandWithUkraine

This project was created by a developer from Ukraine.

Russia has invaded Ukraine and already killed tens of thousands of civilians,

with many more raped or tortured. It's a genocide. We need your help.

Support Ukraine

#StandWithUkraine

crystal-molinillo

A generic dependency resolution algorithm. Ported from https://github.com/CocoaPods/Molinillo/

crystal-molinillo

A port of Molinillo (generic dependency resolution algorithm) to Crystal

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      molinillo:
        github: crystal-lang/crystal-molinillo
    
  2. Run shards install

Usage

require "molinillo"

This was built to be used by Shards. Check MolinilloSolver for an example of integration.

Development

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

Contributing

  1. Fork it (https://github.com/crystal-lang/crystal-molinillo/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Owner
github statistic
  • 24
  • 1
  • 0
  • 0
  • 12 days ago
  • February 6, 2020
License

Other

Links
Synced at

Mon, 08 Aug 2022 11:29:58 GMT