cat-bookmarker/deps/phoenix_view/mix.exs

51 lines
1004 B
Elixir
Raw Normal View History

2024-03-10 18:52:04 +00:00
defmodule PhoenixView.MixProject do
use Mix.Project
@version "2.0.3"
@source_url "https://github.com/phoenixframework/phoenix_view"
def project do
[
app: :phoenix_view,
version: @version,
elixir: "~> 1.9",
description: "The view layer in Phoenix v1.0-v1.6 apps",
docs: docs(),
deps: deps(),
package: package()
]
end
def application do
[
extra_applications: [:eex]
]
end
defp docs do
[
main: "Phoenix.View",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["CHANGELOG.md"]
]
end
defp deps do
[
{:phoenix_html, "~> 2.14.2 or ~> 3.0 or ~> 4.0", optional: true},
{:phoenix_template, "~> 1.0"},
{:jason, "~> 1.0", only: :test},
{:ex_doc, "~> 0.22", only: :docs}
]
end
defp package do
[
maintainers: ["Chris McCord", "José Valim", "Gary Rennie"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end