Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
Add only: :dev option to usage guide and license notice
Browse files Browse the repository at this point in the history
  • Loading branch information
unnawut committed Dec 5, 2017
1 parent 7365ce3 commit 3740480
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ The package can be installed by adding `licensir` to your list of dependencies i
```elixir
def deps do
[
{:licensir, "~> 0.1.0"}
{:licensir, "~> 0.1.0", only: :dev, runtime: false}
]
end
```

Run the command to list the licenses with:
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.

## Usage

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

```shell
mix licenses
```

## License

Copyright (c) 2017, Unnawut Leepaisalsuwanna.

Licensir is released under the [MIT License](LICENSE.md).

0 comments on commit 3740480

Please sign in to comment.