Current section

Files

Jump to
telegraph mix.exs
Raw

mix.exs

defmodule Telegraph.MixProject do
use Mix.Project
def project do
[
app: :telegraph,
version: "0.0.2",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Telegraph",
description: description(),
package: package(),
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Telegraph.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:hackney, "~> 1.18"},
{:jason, "~> 1.3"}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp description() do
"Modern Telegram Bot API framework"
end
defp package() do
[
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/etroynov/"}
]
end
end