github.com/elorest/compiled_license

Compiles all Licenses from project into binary for MIT compliance

9 stars
10 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  compiled_license:
    github: elorest/compiled_license
    version: ~> 1.2.2

Then run:

shards install

shard.yml

Crystal
> 0.24.1, < 2.0
License
MIT
Author
Isaac Sloan

Dependencies

This version declares no dependencies.

README

Compiled License

Compiles the licences of all shards used in project into binary. This allows you to legally distribute binaries without having to package the licenses files from the shards.

Installation

Add this to your application's shard.yml:

dependencies:
  compiled_license:
    github: elorest/compiled_license

Usage

require "compiled_license"

Compile and run

$ crystal build src/testapp.cr
$ testapp --licenses
# Returns all licenses to stdout

Contributing

  1. Fork it ( https://github.com/elorest/compiled_license/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

  • elorest Isaac Sloan - creator, maintainer