-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
49 lines (42 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
defmodule ExDbus.MixProject do
use Mix.Project
@source_url "https://github.com/mpotra/ex_dbus"
def project do
[
app: :ex_dbus,
version: "0.1.4",
elixir: ">= 1.11.3",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
source_url: @source_url,
description: "Elixir implementation of D-Bus",
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :dbus]
]
end
defp elixirc_paths(:dev), do: ["lib", "examples"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:dbus, "~> 0.8.0"},
{:saxy, "~> 1.4.0"},
# Development dialyzer
{:dialyxir, "~> 1.1.0", only: [:dev, :test], runtime: false}
]
end
defp package do
[
maintainers: ["Mihai Potra"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url},
files: ~w(lib LICENSE.md mix.exs README.md)
]
end
end