-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
45 lines (40 loc) · 1.12 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
defmodule RequireAssociations.MixProject do
use Mix.Project
def project do
[
app: :ecto_require_associations,
description: "Tool for validating that Ecto associations have been set",
version: "0.1.4",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
preferred_cli_env: [
"test.watch": :test
],
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "ecto_require_associations",
# These are the default files included in the package
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/cheerfulstoic/require_associations_test"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:ecto, ">= 2.0.0"}
]
end
end