-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
57 lines (49 loc) · 1.41 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 ExSni.MixProject do
use Mix.Project
@source_url "https://github.com/elixir-desktop/ex_sni"
def project do
[
app: :ex_sni,
name: "ExSNI",
source_url: @source_url,
version: "0.2.9",
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
description: "Elixir implementation of D-Bus StatusNotifierItem and com.canonical.dbusmenu",
deps: deps(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:dev), do: ["lib", "examples"]
defp elixirc_paths(:test), do: ["lib", "examples", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_dbus, "~> 0.1"},
{:debouncer, "~> 0.1"},
# XML utility - ex_dbus already requires it
{:saxy, "~> 1.4.0"},
# Development dialyzer
{:dialyxir, "~> 1.1.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
def package do
[
name: :ex_sni,
files: ~w(lib LICENSE mix.exs README.md),
maintainers: ["Mihai Potra"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end