-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
60 lines (52 loc) · 1.38 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
defmodule Membrane.Common.C.Mixfile do
use Mix.Project
@version "0.16.0"
@github_url "https://github.com/membraneframework/membrane-common-c"
def project do
[
app: :membrane_common_c,
version: @version,
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:unifex, :bundlex] ++ Mix.compilers(),
deps: deps(),
# hex
description: "Membrane Multimedia Framework (C language common routines)",
package: package(),
# docs
name: "Membrane: Common C",
source_url: @github_url,
docs: docs(),
homepage_url: "https://membrane.stream"
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
maintainers: ["Membrane Team"],
licenses: ["Apache-2.0"],
files: ["lib", "c_src", "mix.exs", "README*", "LICENSE*", ".formatter.exs", "bundlex.exs"],
links: %{
"GitHub" => @github_url,
"Membrane Framework Homepage" => "https://membraneframework.org"
}
]
end
defp docs do
[
main: "readme",
extras: ["README.md"],
formatters: ["html"],
source_ref: "v#{@version}"
]
end
defp deps() do
[
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
{:membrane_core, "~> 1.0"},
{:shmex, "~> 0.5.0"},
{:unifex, "~> 1.0"}
]
end
end