-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
74 lines (66 loc) · 1.76 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
74
defmodule X32Remote.MixProject do
use Mix.Project
@github_url "https://github.com/wisq/x32_remote"
def project do
[
app: :x32_remote,
version: "0.1.1",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps(),
source_url: @github_url
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {X32Remote, []}
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp description do
"""
X32Remote is a library for controlling Behringer X32 and M32 mixing consoles.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "CHANGELOG.md", "LICENSE"],
maintainers: ["Adrian Irving-Beer"],
licenses: ["MIT"],
links: %{GitHub: @github_url}
]
end
defp docs do
[
main: "readme",
extras: [
"README.md",
"CHANGELOG.md"
],
groups_for_modules: [
Commands: ~r/^X32Remote\.Commands\./,
Types: ~r/^X32Remote\.Types/
]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:gen_stage, "~> 1.2.1"},
{:ex_osc, "~> 0.1.2"},
{:ex_doc, "~> 0.27", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:ex_git_test, "~> 0.1.2", only: [:dev, :test], runtime: false}
]
end
end