-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
56 lines (50 loc) · 1.24 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
55
56
defmodule SoftRepo.MixProject do
use Mix.Project
def project do
[
app: :soft_repo,
deps: deps(),
description: description(),
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: "0.3.0"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
applications: [:logger, :postgrex, :ecto]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 0.10.1", only: :dev},
{:ecto, ">= 2.0.0 and < 3.0.0"},
{:excoveralls, "~> 0.10.0", only: :test},
{:ex_doc, "~> 0.19.0", only: :dev},
{:postgrex, "~> 0.13.0"}
]
end
defp description do
"""
Soft delete using Ecto repo.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE", "CHANGELOG.md"],
maintainers: ["Carlos Ramos"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/carakan/soft_repo"
},
build_tools: ["mix"]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end