forked from danielberkompas/ecto_validation_case
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
54 lines (46 loc) · 1 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
47
48
49
50
51
52
53
54
defmodule EctoValidationCase.Mixfile do
use Mix.Project
@version "0.1.1"
@github "https://github.com/danielberkompas/ecto_validation_case"
def project do
[
app: :ecto_validation_case,
version: @version,
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
# Hex
description: description,
package: package,
# Docs
name: "Ecto.ValidationCase",
docs: [
source_ref: "v#{@version}",
source_url: @github
]
]
end
def application do
[applications: []]
end
defp description do
"""
Ecto.ValidationCase simplifies writing validation tests for Ecto models.
"""
end
defp package do
[
contributors: ["Daniel Berkompas"],
licenses: ["MIT", "Apache 2.0"],
links: %{
"Github" => @github
}
]
end
defp deps do
[{:ecto, ">= 0.11.0"},
{:ex_doc, ">= 0.0.0"},
{:inch_ex, only: :docs}]
end
end