Coder Social home page Coder Social logo

cybrox / licensir Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unnawut/licensir

0.0 0.0 0.0 77 KB

An Elixir mix task that lists the license(s) of all installed packages in your Mix project.

Home Page: https://hex.pm/packages/licensir

License: MIT License

Elixir 100.00%

licensir's Introduction

Licensir Build Status Coverage Status

An Elixir mix task that list the license(s) of all installed packages in your project.

Installation

The package can be installed by adding licensir to your list of dependencies in mix.exs:

def deps do
  [
    {:licensir, "~> 0.4", only: :dev, runtime: false}
  ]
end

This mix task in most cases only needs to be run on a development machine and independent from the runtime applications, hence the only: dev, runtime: false options.

Install locally

If you do not wish to include this tool as part of your dependencies, you may also install it locally by running:

$ mix archive.install hex licensir 0.4.0

Now you can access this tool from any path on your local machine that has access to mix.

Usage

Run the command to get the list of packages and their licenses:

mix licenses

The command above should return an output similar to below (example from phoenix):

$ mix licenses
cowboy 2.2.2            -> Undefined
cowlib 2.1.0            -> Undefined
earmark                 -> Apache 2 (see the file LICENSE for details)
ex_doc                  -> Unsure (found: Apache 2.0, Apache 2)
gettext                 -> Apache 2.0
inch_ex                 -> MIT
jason 1.0.0             -> Unsure (found: Apache 2.0, Apache 2)
licensir 0.2.5          -> MIT
mime 1.2.0              -> Apache 2
phoenix_html            -> MIT
phoenix_pubsub 1.0.2    -> MIT
plug 1.5.0              -> Apache 2
poison                  -> CC0-1.0
ranch 1.4.0             -> Undefined
websocket_client        -> Undefined

Flags

  • --top-level-only - Only fetch license information from top level dependencies (e.g. packages that are directly listed in your application's mix.exs). Excludes transitive dependencies.

License

Copyright (c) 2017-2019, Unnawut Leepaisalsuwanna.

Licensir is released under the MIT License.

licensir's People

Contributors

brianberlin avatar cybrox avatar halostatue avatar hauleth avatar unnawut avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.