-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
55 lines (50 loc) · 1.34 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 ImgUtils.MixProject do
use Mix.Project
def project do
[
app: :imgutils,
version: "0.1.1",
elixir: "~> 1.8",
description: description(),
compilers: [:elixir_make] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
elixirc_options: [warnings_as_errors: true],
test_coverage: [tool: ExCoveralls],
package: [
maintainers: ["Grigory Starinkin"],
files: [
"lib",
"mix.exs",
"Makefile",
"c_src",
"README.md",
"LICENSE"
],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/velimir/imgutils"}
],
source_url: "https://github.com/velimir/imgutils",
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:elixir_make, "~> 0.5.2", runtime: false},
{:ex_doc, "~> 0.20.2", only: :dev, runtime: false},
{:excoveralls, "~> 0.11.1", only: :test}
]
end
defp description() do
"Collection of image processing utilities."
end
defp elixirc_paths(:test), do: ["lib", "test/lib"]
defp elixirc_paths(_env), do: ["lib"]
end