Skip to content

Commit

Permalink
Added information needed for publication on hex.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
Hajto committed Apr 11, 2019
1 parent 2286589 commit c2026da
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
defmodule MembraneCapsRtp.MixProject do
use Mix.Project

@version "0.1.0"
@github_url "https://github.com/membraneframework/membrane-caps-rtp"

def project do
[
app: :membrane_caps_rtp,
version: "0.1.0",
elixir: "~> 1.7",
deps: deps(),
description: "Membrane Multimedia Framework (RTP format definition)",
docs: docs(),
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps()
version: @version
]
end

Expand All @@ -17,10 +23,29 @@ defmodule MembraneCapsRtp.MixProject do
]
end

defp docs do
[
main: "readme",
extras: ["README.md"],
source_ref: "v#{@version}"
]
end

defp deps do
[
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end

defp package do
[
maintainers: ["Membrane Team"],
licenses: ["Apache 2.0"],
links: %{
"GitHub" => @github_url,
"Membrane Framework Homepage" => "https://membraneframework.org"
}
]
end
end

0 comments on commit c2026da

Please sign in to comment.