-
Notifications
You must be signed in to change notification settings - Fork 131
/
mix.exs
46 lines (40 loc) · 1.08 KB
/
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
44
45
46
defmodule EctoEnum.Mixfile do
use Mix.Project
@version "1.4.0"
def project do
[
app: :ecto_enum,
version: @version,
elixir: "~> 1.2",
deps: deps(),
description: "Ecto extension to support enums in models",
test_paths: test_paths(Mix.env()),
package: package(),
name: "EctoEnum",
docs: [source_ref: "v#{@version}", source_url: "https://github.com/gjaldon/ecto_enum"]
]
end
defp test_paths(:mysql), do: ["test/mysql"]
defp test_paths(_), do: ["test/pg"]
defp package do
[
maintainers: ["Gabriel Jaldon"],
licenses: ["MIT"],
links: %{github: "https://github.com/gjaldon/ecto_enum"},
files: ~w(mix.exs README.md CHANGELOG.md lib .formatter.exs)
]
end
def application do
[]
end
defp deps do
[
{:ecto_sql, "~> 3.0"},
{:postgrex, ">= 0.0.0", optional: true},
{:myxql, ">= 0.2.0", optional: true},
{:ex_doc, "~> 0.19", only: [:docs, :dev]},
{:earmark, "~> 1.2", only: [:docs, :dev]},
{:inch_ex, ">= 0.0.0", only: [:dev, :test]}
]
end
end