Add package metadata
This commit is contained in:
parent
2fe15138f5
commit
031d834366
1 changed files with 13 additions and 0 deletions
13
mix.exs
13
mix.exs
|
@ -10,11 +10,24 @@ defmodule LineBot.MixProject do
|
||||||
elixir: "~> 1.9",
|
elixir: "~> 1.9",
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
deps: deps(),
|
deps: deps(),
|
||||||
|
package: package(),
|
||||||
source_url: "https://github.com/adamu/line_bot",
|
source_url: "https://github.com/adamu/line_bot",
|
||||||
|
description: "A package for creating chatbots with the Line messenger",
|
||||||
docs: docs()
|
docs: docs()
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
defp package do
|
||||||
|
[
|
||||||
|
licenses: ["Apache 2.0"],
|
||||||
|
links: %{
|
||||||
|
"Messaging API Documentation" => "https://developers.line.biz/en/services/messaging-api/",
|
||||||
|
"GitHub" => "https://github.com/adamu/line_bot",
|
||||||
|
"Sample Bot" => "https://github.com/adamu/line_bot/tree/master/sample"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
end
|
||||||
|
|
||||||
# Run "mix help compile.app" to learn about applications.
|
# Run "mix help compile.app" to learn about applications.
|
||||||
def application do
|
def application do
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue