-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
57 lines (51 loc) · 1.35 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
defmodule XfpApp.MixProject do
use Mix.Project
@source_url "https://github.com/thiagoesteves/xfp_elixir"
def project do
[
app: :xfp_app,
version: "0.1.0",
elixir: "~> 1.11",
name: "xfp_app",
description: description(),
source_url: @source_url,
start_permanent: Mix.env() == :prod,
compilers: [:elixir_make | Mix.compilers()],
aliases: aliases(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
# Do not start application during the tests
defp aliases do
[
test: "test --no-start"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :gproc],
mod: {Xfp.Application, []}
]
end
defp description do
"Elixir project for accessing XFP transceivers using Erlang Ports."
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:gproc, git: "https://github.com/uwiger/gproc"},
{:elixir_make, "~> 0.4", runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:meck, "~> 0.9.0", only: :test}
]
end
end