Current section

Files

Jump to

mix.exs

defmodule Membrane.AudioMix.Mixfile do
use Mix.Project
@version "0.2.0"
@github_url "https://github.com/membraneframework/membrane_audio_mix_plugin"
def project do
[
app: :membrane_audio_mix_plugin,
version: @version,
elixir: "~> 1.12",
compilers: Mix.compilers(),
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "Plugin performing raw audio mixing and interleaving.",
package: package(),
name: "Membrane Audio Mix plugin",
source_url: @github_url,
homepage_url: "https://membraneframework.org",
docs: docs()
]
end
def application do
[
extra_applications: []
]
end
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:membrane_core, "~> 0.7.0"},
{:membrane_caps_audio_raw, "~> 0.4.0"},
{:bunch, "~> 1.0"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0", only: :dev, runtime: false},
{:credo, "~> 1.5", only: :dev, runtime: false},
{:membrane_file_plugin, "~> 0.6.0", only: :test},
{:membrane_mp3_mad_plugin, "~> 0.7.0", only: :test}
]
end
defp package do
[
maintainers: ["Membrane Team"],
licenses: ["Apache 2.0"],
links: %{
"GitHub" => @github_url,
"Membrane Framework Homepage" => "https://membraneframework.org"
},
files: ["lib", "mix.exs", "README*", "LICENSE*", ".formatter.exs"]
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "LICENSE"],
source_ref: "v#{@version}",
nest_modules_by_prefix: []
]
end
end