-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
61 lines (54 loc) · 1.4 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
57
58
59
60
61
defmodule EctoExtractMigrations.MixProject do
use Mix.Project
@github "https://github.com/cogini/ecto_extract_migrations"
def project do
[
app: :ecto_extract_migrations,
version: "0.2.0",
elixir: "~> 1.10",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps(),
dialyzer: [
plt_add_apps: [:mix, :eex]
# plt_add_deps: true,
# flags: ["-Werror_handling", "-Wrace_conditions"],
# flags: ["-Wunmatched_returns", :error_handling, :race_conditions, :underspecs],
# ignore_warnings: "dialyzer.ignore-warnings"
]
]
end
def application do
[
extra_applications: [:logger, :eex]
]
end
defp deps do
[
{:nimble_parsec, "~> 0.6"},
{:dialyxir, "~> 0.5.1", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.23", only: :dev, runtime: false}
]
end
defp description do
"Mix task to generate Ecto migrations from SQL schema file"
end
defp package do
[
maintainers: ["Jake Morrison"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => @github}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
source_url: @github,
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
end
end