-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
52 lines (45 loc) · 1.21 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
defmodule Phoenix.Copy.MixProject do
use Mix.Project
def project do
[
app: :phoenix_copy,
version: "0.1.4",
elixir: "~> 1.9",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
# Package
description: "Copy static assets for your Phoenix app during development and deployment.",
package: package(),
# Docs
name: "Phoenix.Copy",
homepage_url: "https://github.com/aj-foster/phx_copy",
source_url: "https://github.com/aj-foster/phx_copy",
docs: [
main: "readme",
extras: ["CHANGELOG.md", "README.md", "LICENSE"]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
{:file_system, "~> 0.2 or ~> 1.0"},
{:junit_formatter, "~> 3.0", only: :test}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
files: ~w(lib .formatter.exs CHANGELOG.md LICENSE mix.exs README.md),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/aj-foster/phx_copy"}
]
end
end