molinillo

Version, currently 0.2.04 versions

github.com/crystal-lang/crystal-molinillo

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

33 stars
0 dependents
License: MIT

Nothing has been indexed for 0.2.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  molinillo:
    github: crystal-lang/crystal-molinillo
    version: ~> 0.2.0

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.2.0. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

Documentation

Read the API documentation

Generated from the source of the current release. The first visit to a release that has never been documented starts its build.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

# crystal-molinillo

A port of [Molinillo](https://github.com/CocoaPods/Molinillo/) (generic dependency resolution algorithm) to [Crystal](https://crystal-lang.org)

## Installation

1. Add the dependency to your `shard.yml`:

   ```yaml
   dependencies:
     molinillo:
       github: crystal-lang/crystal-molinillo
   ```

2. Run `shards install`

## Usage

```crystal
require "molinillo"
```

This was built to be used by [Shards](https://github.com/crystal-lang/shards). Check [`MolinilloSolver`](https://github.com/crystal-lang/shards/blob/master/src/molinillo_solver.cr) 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

- [Juan Wajnerman](https://github.com/waj) - creator and maintainer