Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Pushex.Mixfile do
use Mix.Project
@version "0.0.3"
def project do
[app: :pushex,
version: @version,
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
description: "Mobile push notification library",
source_url: "https://github.com/tuvistavie/pushex",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package,
deps: deps,
dialyzer: [plt_add_apps: [:poison, :httpoison, :vex]],
docs: [source_ref: "#{@version}", extras: ["README.md"], main: "readme"]]
end
def application do
[applications: [:logger, :httpoison],
mod: {Pushex, []},
description: 'Mobile push notification library']
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[{:httpoison, "~> 0.8"},
{:poison, "~> 1.5 or ~> 2.1"},
{:vex, github: "tuvistavie/vex", branch: "add-type-validator"},
{:dialyxir, "~> 0.3", only: :dev},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.11", only: :dev}]
end
defp package do
[
maintainers: ["Daniel Perez"],
files: ["lib", "mix.exs", "README.md"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/tuvistavie/pushex",
"Docs" => "http://hexdocs.pm/pushex/"
}
]
end
end