-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
85 lines (76 loc) · 2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
defmodule Membrane.S3.Plugin.MixProject do
use Mix.Project
@version "0.1.2"
@github_url "https://github.com/YuzuTen/membrane_s3_plugin"
def project do
[
app: :membrane_s3_plugin,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
# hex
description: "Membrane Multimedia Framework plugin for S3",
package: package(),
# docs
name: "Membrane S3 plugin",
source_url: @github_url,
homepage_url: "https://www.yuzuten.com/",
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_env), do: ["lib"]
defp docs do
[
main: "readme",
extras: [
"README.md",
LICENSE: [
title: "License"
]
],
formatters: ["html"],
source_ref: "v#{@version}",
nest_modules_by_prefix: [Membrane.File]
]
end
defp package do
[
maintainers: ["Jason Truesdell"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => @github_url,
"Membrane Framework Homepage" => "https://membraneframework.org"
}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_aws_s3, "~> 2.3"},
{:ex_doc, "~> 0.29.0"},
{:membrane_core, "~> 0.10"},
# These are the default dependencies that ex_aws uses. They are not included in the :prod build
# Because downstream clients may elect override them. Your application should include these in your own
# mix.exs if you're happy with the defaults, or provide your own custom alternative.
{:hackney, ">= 0.0.0", only: [:dev, :test]},
{:jason, ">= 0.0.0", only: [:dev, :test]},
{:sweet_xml, ">= 0.0.0", optional: true},
# These plugins are used by tests. They're only needed in your project if they make sense for your application.
{:membrane_file_plugin, "~> 0.12.0", only: [:dev, :test]},
{:mox, "~> 1.0", only: [:test]},
# These dependencies support static analysis of the codebase.
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1", only: [:dev, :test], runtime: false}
]
end
end