defmodule PlugStaticIndexHtml.Mixfile do
use Mix.Project
def project do
[app: :plug_static_index_html,
version: "0.1.0",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
package: package]
end
def package do
[name: :plug_static_index_html,
description: "Serves `index.html` pages for requests to paths without a filename in Phoenix / Plug applications.",
files: ["lib", "mix.exs"],
maintainers: ["Michael Buhot (m.buhot@gmail.com)"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/mbuhot/plug_static_index_html"}]
end
def application, do: [applications: []]
defp deps do
[
{:plug, "~> 1.0"},
{:ex_doc, ">= 0.13.0", only: :dev}
]
end
end