-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
43 lines (38 loc) · 942 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
defmodule Ec.Cart.Mixfile do
use Mix.Project
def project do
[
app: :ec_cart,
version: "0.1.5",
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
description: description(),
deps: deps()
]
end
def application do
[applications: [:logger], mod: {EcCart, []}]
end
defp deps do
[
{:ex_doc, "~> 0.14", only: :dev},
{:credo, "~> 0.9.1", only: [:dev, :test], runtime: false},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
defp description do
"E-commerce cart for Elixir."
end
defp package do
# These are the default files included in the package
[
name: :ec_cart,
files: ["lib", "mix.exs", "README*"],
maintainers: ["Ruben Amortegui"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/ramortegui/ec_cart"}
]
end
end