Packages

An Elixir library for working with Intercom using the Intercom API.

Current section

Files

Jump to
Raw

mix.exs

defmodule Intercom.MixProject do
use Mix.Project
def project do
[
app: :intercom,
version: "1.3.0",
elixir: "~> 1.9",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
description: description(),
package: package(),
deps: deps(),
name: "intercom_elixir",
source_url: "https://github.com/diagnosia/intercom-elixir"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:httpoison, "~> 1.7"},
{:jason, "~> 1.1"},
{:mox, "~> 1.0", only: :test},
{:dialyxir, "~> 1.0.0-rc.7", only: :dev, runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
]
end
defp description do
"An Elixir library for working with Intercom using the Intercom API."
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
name: "intercom_elixir",
files: ~w(lib .formatter.exs mix.exs README.md),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/diagnosia/intercom-elixir"}
]
end
end