aboutsummaryrefslogtreecommitdiff
path: root/shard/mix.exs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-09-01 16:06:23 +0200
committerAlex Auvolat <alex@adnab.me>2018-09-01 16:06:23 +0200
commitc6ec33d6e612168e14d77007915a4ea423c55a2e (patch)
tree8b5645651a0cc991b8ac9c68c388d84c8dbe73d2 /shard/mix.exs
parent1a0ef154a421af60f6d57dfe861dacb844a7d142 (diff)
downloadshard-c6ec33d6e612168e14d77007915a4ea423c55a2e.tar.gz
shard-c6ec33d6e612168e14d77007915a4ea423c55a2e.zip
Move everything to subdirectory
Diffstat (limited to 'shard/mix.exs')
-rw-r--r--shard/mix.exs33
1 files changed, 33 insertions, 0 deletions
diff --git a/shard/mix.exs b/shard/mix.exs
new file mode 100644
index 0000000..7192feb
--- /dev/null
+++ b/shard/mix.exs
@@ -0,0 +1,33 @@
+defmodule Shard.MixProject do
+ use Mix.Project
+
+ def project do
+ [
+ app: :shard,
+ version: "0.1.0",
+ elixir: "~> 1.6",
+ build_embedded: Mix.env == :prod,
+ start_permanent: Mix.env() == :prod,
+ deps: deps(),
+ test_coverage: [tool: ExCoveralls],
+ preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test]
+ ]
+ end
+
+ # Run "mix help compile.app" to learn about applications.
+ def application do
+ [
+ extra_applications: [:logger],
+ mod: {Shard.Application, []}
+ ]
+ end
+
+ # Run "mix help deps" to learn about dependencies.
+ defp deps do
+ [
+ {:excoveralls, "~> 0.10", only: :test},
+
+ {:salty, "~> 0.1.3", hex: :libsalty},
+ ]
+ end
+end