-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathmix.exs
73 lines (64 loc) · 1.72 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
66
67
68
69
70
71
72
73
defmodule Sippet.Mixfile do
use Mix.Project
@version "1.0.16"
def project do
[
app: :sippet,
version: @version,
elixir: "~> 1.14",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
# Add the make compiler
compilers: [:elixir_make] ++ Mix.compilers(),
deps: deps(),
package: package(),
name: "Sippet",
docs: [logo: "logo.png"],
source_url: "https://github.com/balena/elixir-sippet",
description: description(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
make_clean: ["clean"],
make_cwd: "c_src"
]
end
def application do
[
extra_applications: [:logger, :crypto]
]
end
defp deps do
[
{:sippet_uri, "~> 0.1"},
{:gen_state_machine, ">= 3.0.0"},
# Build the NIF
{:elixir_make, "~> 0.7", runtime: false},
# Docs dependencies
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:inch_ex, "~> 2.0", only: :docs},
# Test dependencies
{:mock, "~> 0.3", only: :test},
{:excoveralls, "~> 0.10", only: :test},
{:credo, "~> 1.2", only: [:dev, :test]},
{:dialyxir, ">= 1.0.0", only: [:dev], runtime: false}
]
end
defp description do
"""
An Elixir Session Initiation Protocol (SIP) stack.
"""
end
defp package do
[
maintainers: ["Guilherme Balena Versiani"],
licenses: ["BSD"],
links: %{"GitHub" => "https://github.com/balena/elixir-sippet"},
files: ~w"lib c_src/*.{h,cc} c_src/Makefile mix.exs README.md LICENSE"
]
end
end