Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Envio.MixProject do
use Mix.Project
@app :envio
@app_name "Envío"
@version "0.2.1"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
package: package(),
xref: [exclude: []],
description: description(),
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Envio.Application, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 0.9", only: :dev},
{:ex_doc, "~> 0.18", only: :dev, override: true}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
]
end
defp description do
"""
The application-wide registry with handy helpers to ease dispatching.
"""
end
defp package do
[
name: @app,
files: ~w|config lib mix.exs README.md|,
maintainers: ["Aleksei Matiushkin"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/am-kantox/#{@app}",
"Docs" => "https://hexdocs.pm/#{@app}"
}
]
end
defp docs() do
[
main: @app_name,
source_ref: "v#{@version}",
canonical: "http://hexdocs.pm/#{@app}",
logo: "stuff/logo-48x48.png",
source_url: "https://github.com/am-kantox/#{@app}",
# extras: [
# "stuff/pages/intro.md"
# ],
groups_for_modules: [
# Envio
"Scaffold Helpers": [
Envio.Publisher,
Envio.Subscriber
],
"Internal Data": [
Envio.Channel,
Envio.State
]
]
]
end
end