shortnr/mix.exs

36 lines
902 B
Elixir
Raw Normal View History

2019-12-08 02:34:58 +00:00
defmodule Shortnr.MixProject do
use Mix.Project
def project do
[
app: :shortnr,
description: "A small & simple url shortener",
2019-12-08 02:34:58 +00:00
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
dialyzer: [ignore_warnings: "dialyzer.ignore-warnings"],
2019-12-08 02:34:58 +00:00
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Shortnr, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:plug_cowboy, "~> 2.0"},
{:elixir_uuid, "~> 1.2"},
{:dialyxir, "~> 0.5.1", only: [:dev], runtime: false},
{:credo, "~> 1.1.5", only: [:dev, :test], runtime: false}
2019-12-08 02:34:58 +00:00
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end