-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
65 lines (58 loc) · 1.4 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
60
61
62
63
64
65
defmodule Tbcd.MixProject do
use Mix.Project
@url "https://github.com/patchkord/tbcd"
def project() do
[
app: :tbcd,
version: "0.3.6",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
erlc_options: erlc_options(),
compilers: Mix.compilers ++ [:tbcd],
deps: deps()
]
end
def erlc_options do
[
{:src_dirs, ['src']},
:debug_info,
# :bin_opt_info,
:warn_bif_clash,
:warn_export_all,
:warn_obsolete_guard,
:warn_unused_import,
:warn_unused_record,
:warn_untyped_record,
:warn_shadow_vars,
:warn_unused_vars,
:warn_export_vars,
:warn_exported_vars,
:warn_unused_function,
:warn_deprecated_function,
:strict_validation
]
end
def application() do
[]
end
def deps do
[
{:makeup, "1.0.3", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
]
end
defp description() do
"A NIF library for decoding and encoding of Telephony binary-coded decimal (TBCD)"
end
defp package do
[
files: ~w(src c_src/tbcd_native.c c_src/Makefile lib mix.exs rebar.config README* LICENSE*),
maintainers: ["Dmitry Korunov"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => @url}
]
end
end