This repository has been archived on 2024-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
mebe/mix.exs

42 lines
1 KiB
Elixir
Raw Normal View History

2015-11-17 21:09:21 +00:00
defmodule MebeWeb.Mixfile do
2015-05-14 20:58:25 +00:00
use Mix.Project
def project do
2015-11-17 21:09:21 +00:00
[app: :mebe_web,
version: "1.0.0",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.1.0",
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,
deps: deps]
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
def application do
[mod: {MebeWeb, []},
applications: [:phoenix, :cowboy, :logger]]
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
2015-05-14 20:58:25 +00:00
defp deps do
2015-11-17 21:09:21 +00:00
[
{:phoenix, "~> 1.0"},
{:phoenix_live_reload, "~> 1.0", only: :dev},
{:phoenix_html, "~> 2.2"},
{:cowboy, "~> 1.0"},
{:earmark, "~> 0.1.16"}
]
2015-05-14 20:58:25 +00:00
end
end