forked from ananthakumaran/barlix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
52 lines (46 loc) · 1.07 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 Barlix.Mixfile do
use Mix.Project
@version "0.6.0"
def project do
[
app: :barlix2,
version: @version,
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: "Barcode generator",
package: package(),
docs: docs(),
dialyzer: [plt_add_deps: :transitive],
deps: deps()
]
end
def application do
[applications: [:logger, :png2]]
end
defp deps do
[
{:png2, "~> 1.0.0"},
{:ex_doc, "~> 0.20.2", only: :dev},
{:mix_test_watch, "~> 0.2", only: :dev},
{:tempfile, "~> 0.1.0", only: :test},
{:excheck, "~> 0.6.0", only: :test},
{:triq, "~> 1.3", only: :test}
]
end
defp package do
%{
licenses: ["MIT"],
links: %{"Github" => "https://github.com/erpuno/barlix2"},
maintainers: ["[email protected]"]
}
end
defp docs do
[
source_url: "https://github.com/erpuno/barlix2",
source_ref: "v#{@version}",
main: Barlix,
extras: ["README.md"]
]
end
end