Current section
Files
Jump to
Current section
Files
customerio
mix.exs
mix.exs
defmodule Customerio.Mixfile do
use Mix.Project
def project do
[
app: :customerio,
version: "0.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[
extra_applications: [
:logger,
:httpoison
],
]
end
defp deps do
[
{:httpoison, "~> 0.11.0"},
{:ex_doc, "~> 0.0", only: :dev},
{:poison, "~> 3.0"},
{:exvcr, "~> 0.8", only: :test},
{:inch_ex, "~> 0.5", only: [:dev, :test]},
]
end
defp description do
"""
An Elixir client for the Customer.io event API.
"""
end
defp package do
[
name: :customerio,
files: ["lib", "mix.exs", "README*"],
maintainers: ["Dmitry Rubinshtein"],
licenses: ["MIT"],
links: %{"Gihub"=>"https://github.com/virviil/customerio"}
]
end
defp docs do
[
main: "getting-started",
extras: [
"docs/Getting Started.md",
"docs/Usage.md"
]
]
end
end