2015-11-17 21:09:21 +00:00
|
|
|
defmodule MebeWeb.Mixfile do
|
2015-05-14 20:58:25 +00:00
|
|
|
use Mix.Project
|
|
|
|
|
2017-03-19 14:42:57 +00:00
|
|
|
def project() do
|
2015-11-17 21:09:21 +00:00
|
|
|
[app: :mebe_web,
|
2017-08-28 17:52:59 +00:00
|
|
|
version: "1.3.2",
|
|
|
|
elixir: "~> 1.4",
|
2015-11-17 21:09:21 +00:00
|
|
|
elixirc_paths: elixirc_paths(Mix.env),
|
|
|
|
compilers: [:phoenix] ++ Mix.compilers,
|
2015-05-14 20:58:25 +00:00
|
|
|
build_embedded: Mix.env == :prod,
|
|
|
|
start_permanent: Mix.env == :prod,
|
2017-01-21 12:05:45 +00:00
|
|
|
deps: deps()]
|
2015-05-14 20:58:25 +00:00
|
|
|
end
|
|
|
|
|
2015-11-17 21:09:21 +00:00
|
|
|
# Configuration for the OTP application
|
2015-05-14 20:58:25 +00:00
|
|
|
#
|
2015-11-17 21:09:21 +00:00
|
|
|
# Type `mix help compile.app` for more information
|
2017-03-19 14:42:57 +00:00
|
|
|
def application() do
|
|
|
|
[
|
|
|
|
mod: {MebeWeb, []},
|
|
|
|
extra_applications: [
|
|
|
|
:logger
|
|
|
|
]
|
|
|
|
]
|
2015-11-17 21:09:21 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
# Specifies which paths to compile per environment
|
|
|
|
defp elixirc_paths(:test), do: ["lib", "web", "test/support"]
|
|
|
|
defp elixirc_paths(_), do: ["lib", "web"]
|
|
|
|
|
|
|
|
# Specifies your project dependencies
|
2015-05-14 20:58:25 +00:00
|
|
|
#
|
2015-11-17 21:09:21 +00:00
|
|
|
# Type `mix help deps` for examples and options
|
2017-03-19 14:42:57 +00:00
|
|
|
defp deps() do
|
2015-11-17 21:09:21 +00:00
|
|
|
[
|
2017-03-23 22:30:05 +00:00
|
|
|
{:phoenix, "~> 1.2.3"},
|
2017-01-21 12:05:45 +00:00
|
|
|
{:phoenix_live_reload, "~> 1.0.7", only: :dev},
|
|
|
|
{:phoenix_html, "~> 2.9.2"},
|
|
|
|
{:cowboy, "~> 1.0.4"},
|
2017-03-23 22:30:05 +00:00
|
|
|
{:earmark, "~> 1.2.0"},
|
|
|
|
{:slugger, github: "h4cc/slugger", ref: "98e907f85d34e6c8a94270249318bdad6f838198"},
|
|
|
|
{:calendar, "~> 0.17.2"},
|
2017-08-28 17:52:59 +00:00
|
|
|
{:mbu, "~> 2.0.0"}
|
2015-11-17 21:09:21 +00:00
|
|
|
]
|
2015-05-14 20:58:25 +00:00
|
|
|
end
|
|
|
|
end
|