Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ExTDLib.Mixfile do
use Mix.Project
def project do
[
app: :ex_tdlib,
deps: deps(),
description: description(),
docs: [main: "readme", extras: ["README.md"]],
dialyzer: [plt_add_apps: ~w(jason mix)a],
elixir: "~> 1.15",
homepage_url: "https://github.com/prtngn/ex_tdlib",
name: "ExTDLib",
package: package(),
source_url: "https://github.com/prtngn/ex_tdlib",
start_permanent: Mix.env() == :prod,
version: "0.0.4"
]
end
defp description do
"Bindings over Telegram's TDLib, allowing to act as a full-fledged Telegram client."
end
defp package do
[
name: "ex_tdlib",
files: ~w(lib Makefile .formatter.exs mix.exs README* LICENSE* CHANGELOG.*),
maintainers: ["Timothée Floure", "Maxim Portnyagin"],
licenses: ["AGPL-3.0"],
links: %{
"Sources" => "https://github.com/prtngn/ex_tdlib",
"Bug Tracker" => "https://github.com/prtngn/ex_tdlib",
"Telegram TDLib" => "https://core.telegram.org/tdlib"
}
]
end
def application do
[
mod: {ExTDLib.Application, []},
extra_applications: [:logger]
]
end
defp deps do
[
{:credo, ">= 0.0.0", only: [:dev], runtime: false},
{:dialyxir, ">= 0.0.0", only: [:dev], runtime: false},
{:elixir_make, "~> 0.4", runtime: false},
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:jason, "~> 1.4"},
{:mix_audit, ">= 0.0.0", only: [:dev], runtime: false},
{:styler, "~> 0.10", only: [:dev, :test], runtime: false}
]
end
end