-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
59 lines (54 loc) · 1.2 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
defmodule Zbar.Mixfile do
use Mix.Project
def project do
[
app: :zbar,
version: "0.2.1",
description: "Scan one or more barcodes from a JPEG image",
elixir: "~> 1.4",
make_targets: ["all"],
make_clean: ["clean"],
compilers: [:elixir_make | Mix.compilers()],
build_embedded: true,
start_permanent: Mix.env == :prod,
compilers: [:elixir_make] ++ Mix.compilers,
package: package(),
deps: deps(),
dialyzer: [plt_add_apps: [:mix]],
docs: docs()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:elixir_make, "~> 0.6", runtime: false},
{:dialyxir, "~> 1.0.0-rc.6", only: :dev, runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
]
end
defp docs do
[
main: "README",
extras: [
"README.md"
]
]
end
defp package do
[
files: [
"lib",
"src/*.[ch]",
"Makefile",
"mix.exs",
"README.md",
"LICENSE"
],
maintainers: ["Greg Mefford"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/elixir-vision/zbar-elixir"}
]
end
end