~fnux/telegram-tl-elixir

ref: a41fd5de39256374508294282dfd50702e9584c9 telegram-tl-elixir/mix.exs -rw-r--r-- 1.2 KiB
a41fd5de — Timothée Floure Update documentation for flags + bump version to 0.2.0-beta 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
defmodule TL.Mixfile do
  use Mix.Project

  def project do
    [app: :telegram_tl,
     version: "0.2.0-beta",
     elixir: "~> 1.5",
     build_embedded: Mix.env == :prod,
     start_permanent: Mix.env == :prod,
     description: description(),
     package: package(),
     deps: deps(),

     # Docs
     name: "Telegram TL",
     source_url: "https://github.com/fnux/telegram-tl-elixir",
     homepage_url: "http://github.com/fnux/telegram-tl-elixir",
     docs: [main: "readme", extras: ["README.md"]]]
  end

  # Type "mix help compile.app" for more information
  def application do
    # Specify extra applications you'll use from Erlang/Elixir
    [extra_applications: [], mod: {TL.Schema, []}]
  end

  # Depedencies. Type "mix help deps" for more examples and options
  defp deps do
    [{:poison, "~> 3.1"}, {:ex_doc, "~> 0.14", only: :dev}]
  end

  defp description do
    """
    Serialize and deserialize elements of the TL language.
    """
  end

  defp package do
    [
     name: :telegram_tl,
     files: ["lib", "priv", "mix.exs", "README*", "LICENSE*"],
     maintainers: ["Timothée Floure"],
     licenses: ["MIT"],
     links: %{"GitHub" => "https://github.com/Fnux/telegram-tl-elixir"}]
  end
end