An open API service indexing awesome lists of open source software.

https://github.com/librariesio/carthage_parser

:cyclone: Carthage dependency parsing for Libraries.io
https://github.com/librariesio/carthage_parser

Last synced: 12 months ago
JSON representation

:cyclone: Carthage dependency parsing for Libraries.io

Awesome Lists containing this project

README

          

# [CarthageParser](https://libraries.io/github/librariesio/carthage_parser)

Sinatra app for extracting dependencies from `Carthage`, `Carthage.private` and `Carthage.resolved` files for [Libraries.io](https://libraries.io) over http.

It uses [rogdl](https://libraries.io/rubygems/rogdl) to do the heavy lifting of parsing the files.

## Development

Source hosted at [GitHub](http://github.com/librariesio/carthage_parser).
Report issues/feature requests on [GitHub Issues](http://github.com/librariesio/carthage_parser/issues). Follow us on Twitter [@librariesio](https://twitter.com/librariesio). We also hangout on [Gitter](https://gitter.im/librariesio/carthage_parser).

### Getting Started

New to Ruby? No worries! You can follow these instructions to install a local server, or you can use the included Vagrant setup.

#### Installing a Local Server

First things first, you'll need to install Ruby 2.5.0. I recommend using the excellent [rbenv](https://github.com/sstephenson/rbenv),
and [ruby-build](https://github.com/sstephenson/ruby-build)

```bash
rbenv install 2.5.0
rbenv global 2.5.0
```

## Tests

Tests can be ran with `bundle exec rake`

### Note on Patches/Pull Requests

* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Add documentation if necessary.
* Commit, do not change procfile, version, or history.
* Send a pull request. Bonus points for topic branches.

## Copyright

Copyright (c) 2016 Andrew Nesbitt. See [LICENSE](https://github.com/librariesio/carthage_parser/blob/master/LICENSE) for details.