Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Mar.MixProject do
use Mix.Project
def project do
[
app: :mar,
version: "0.2.0",
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Mar",
description: "Simple Web in Elixir",
source_url: "https://github.com/taronull/mar",
homepage_url: "https://hexdocs.pm/mar",
docs: docs(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
{:ex_doc, "~> 0.0", only: :dev, runtime: false},
{:bandit, "~> 1.4"},
{:jason, "~> 1.4"}
]
end
defp docs do
[
main: "Mar",
logo: "priv/mar.png",
extras: ["README.md"]
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/taronull/mar"}
]
end
end