aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2016-07-26 12:39:08 -0600
committerkballou <kballou@devnulllabs.io>2016-07-26 12:43:38 -0600
commit2175a2f4d9a416f4a443166a2487c8c12a3df9e2 (patch)
tree4c75ccbca885a3d6341f7184c426f94ebc3cdc62 /mix.exs
downloadexping-2175a2f4d9a416f4a443166a2487c8c12a3df9e2.tar.gz
exping-2175a2f4d9a416f4a443166a2487c8c12a3df9e2.tar.xz
ExPing: Initial Commit
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs43
1 files changed, 43 insertions, 0 deletions
diff --git a/mix.exs b/mix.exs
new file mode 100644
index 0000000..04f15ce
--- /dev/null
+++ b/mix.exs
@@ -0,0 +1,43 @@
+defmodule ExPing.Mixfile do
+ use Mix.Project
+
+ def project do
+ [app: :exping,
+ description: "ExPing",
+ package: package(),
+ version: "0.1.0",
+ elixir: "~> 1.3",
+ elixirc_paths: elixirc_paths(Mix.env),
+ build_embedded: Mix.env == :prod,
+ start_permanent: Mix.env == :prod,
+ dialyzer: dialyzer(),
+ deps: deps()]
+ end
+
+ defp elixirc_paths(:test), do: ["lib", "test/support"]
+ defp elixirc_paths(_), do: ["lib"]
+
+ def application do
+ [applications: [:logger, :inets],
+ mod: {ExPing.Application, []}]
+ end
+
+ defp deps do
+ [{:dialyxir, "~> 0.3.5", only: :dev},
+ {:credo, "~> 0.4.7", only: :dev}]
+ end
+
+ defp package do
+ [maintainers: ["Kenny Ballou"],
+ licenses: ["Apache 2.0"],
+ links: %{"Git" => "https://git.devnulllabs.io/exping.git",
+ "GitHub" => "https://github.com/kennyballou/exping.git",
+ "Hex" => "https://hex.pm/packages/exping"},
+ files: ~w(mix.exs README.md LICENSE lib)]
+ end
+
+ defp dialyzer do
+ [plt_add_apps: [:inets], plt_add_deps: :transitive]
+ end
+
+end