Compiles all Licenses from project into binary for MIT compliance
Find a file
2021-10-23 12:20:18 +02:00
spec rewrite 2021-10-23 12:17:50 +02:00
src rewrite 2021-10-23 12:17:50 +02:00
.editorconfig init 2018-02-19 20:46:14 -07:00
.gitignore init 2018-02-19 20:46:14 -07:00
LICENSE init 2018-02-19 20:46:14 -07:00
README.md updated usage 2021-10-23 12:20:18 +02:00
shard.yml rewrite 2021-10-23 12:17:50 +02:00

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"

puts CompiledLicense::LICENSES

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