Current section

Files

Jump to
Raw

mix.exs

defmodule BitstylesPhoenix.MixProject do
use Mix.Project
def project do
[
app: :bitstyles_phoenix,
version: "0.4.0",
elixir: "~> 1.11",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "A collection of Elixir phoenix helpers for bitstyles",
package: package(),
source_url: "https://github.com/bitcrowd/bitstyles_phoenix",
docs: [
main: "readme",
assets: "assets",
logo: "priv/logo.svg",
extras: ["CHANGELOG.md", "README.md", "LICENSE.txt"]
]
]
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(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:phoenix_html, "~> 2.14.3"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "bitstyles_phoenix",
licenses: ~w[ISC],
links: %{
"GitHub" => "https://github.com/bitcrowd/bitstyles_phoenix",
"bitstyles" => "https://github.com/bitcrowd/bitstyles"
}
]
end
end