Created
October 25, 2017 16:21
-
-
Save joshrowley/6a60fd9518fde3f3489016b0b356efec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Mast.Mixfile do | |
use Mix.Project | |
def project do | |
[ | |
app: :mast, | |
version: "0.0.1", | |
elixir: "~> 1.4", | |
elixirc_paths: elixirc_paths(Mix.env), | |
compilers: [:phoenix, :gettext] ++ Mix.compilers, | |
start_permanent: Mix.env == :prod, | |
deps: deps() | |
] | |
end | |
# Configuration for the OTP application. | |
# | |
# Type `mix help compile.app` for more information. | |
def application do | |
[ | |
mod: {Mast.Application, []}, | |
extra_applications: [:logger, :runtime_tools] | |
] | |
end | |
# Specifies which paths to compile per environment. | |
defp elixirc_paths(:test), do: ["lib", "test/support"] | |
defp elixirc_paths(_), do: ["lib"] | |
# Specifies your project dependencies. | |
# | |
# Type `mix help deps` for examples and options. | |
defp deps do | |
[ | |
{:phoenix, "~> 1.3.0"}, | |
{:phoenix_pubsub, "~> 1.0"}, | |
{:phoenix_html, "~> 2.10"}, | |
{:phoenix_live_reload, "~> 1.0", only: :dev}, | |
{:gettext, "~> 0.11"}, | |
{:cowboy, "~> 1.0"}, | |
{:httpoison, "~> 0.13"}, | |
{:sshex, "2.2.1"}, | |
{:ex_aws, "~> 1.1"}, | |
{:hackney, "~> 1.9"}, | |
{:sweet_xml, "~> 0.6"} | |
] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment