Packages

A toolkit to work with umbrella projects

Current section

Files

Jump to
brolly mix.exs
Raw

mix.exs

defmodule Brolly.MixProject do
use Mix.Project
@github_url "https://github.com/kelvinst/brolly"
def project do
[
app: :brolly,
version: "0.1.0",
elixir: "~> 1.7",
description: "A toolkit to work with umbrella projects",
source_url: @github_url,
homepage_url: @github_url,
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Kelvin Stinghen"],
licenses: ["MIT"],
links: %{"GitHub" => @github_url}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:git_cli, "~> 0.2"},
{:ex_doc, "~> 0.18", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
]
end
end