Current section

Files

Jump to
segment mix.exs
Raw

mix.exs

defmodule AnalyticsElixir.Mixfile do
use Mix.Project
def project do
[app: :segment,
version: "0.1.1",
elixir: "~> 1.0",
deps: deps,
description: "analytics_elixir",
package: package]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[applications: [:httpoison, :logger, :poison]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type `mix help deps` for more examples and options
defp deps do
[
{:httpoison, "~> 0.8"},
{:poison, "~> 1.3 or ~> 2.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[ # These are the default files included in the package
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Stuart Eccles"],
licenses: ["MIT"],
links: %{ "GitHub" => "https://github.com/stueccles/analytics-elixir" }
]
end
end