Current section

Files

Jump to
stylish mix.exs
Raw

mix.exs

defmodule Stylish.MixProject do
use Mix.Project
def project do
[
app: :stylish,
version: "0.0.6",
elixir: "~> 1.10",
package: package(),
start_permanent: Mix.env() == :prod,
description: description(),
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:phoenix_html, "~> 2.14 or ~> 3.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:assert_html, ">= 0.0.1", only: :test},
{:ex_unit_notifier, "~> 1.0", only: :test},
{:excoveralls, "~> 0.10", only: :test}
]
end
defp description do
"Phoenix view helpers for HTML components styled with tailwindcss"
end
defp package do
%{
licenses: ["MIT"],
maintainers: ["Alex Kwiatkowski"],
links: %{"GitHub" => "https://github.com/fremantle-industries/stylish"}
}
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end