forked from jakub-zawislak/formex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
55 lines (49 loc) · 1.26 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
defmodule Formex.Mixfile do
use Mix.Project
def project do
[
app: :formex,
version: "0.6.7",
elixir: "~> 1.13",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description(),
name: "Formex",
docs: [
main: "readme",
extras: ["README.md", "UPGRADE.md", "guides.md"]
],
source_url: "https://github.com/jakub-zawislak/formex",
elixirc_paths: elixirc_paths(Mix.env())
]
end
def application do
[]
end
defp deps do
[
{:phoenix_html, "~> 4.1"},
{:phoenix_html_helpers, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:phoenix, "~> 1.7", only: [:dev, :test]},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
defp description do
"""
Form library for Phoenix with Ecto support
"""
end
defp package do
[
maintainers: ["Jakub Zawiślak"],
licenses: ["MIT"],
files: ~w(lib priv web CHANGELOG.md LICENSE.md mix.exs package.json README.md),
links: %{github: "https://github.com/jakub-zawislak/formex"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end