Skip to content

Instantly share code, notes, and snippets.

@bcardarella
Created April 26, 2016 13:37
Show Gist options
  • Save bcardarella/2e6363efd6236462d66e0002960f046f to your computer and use it in GitHub Desktop.
Save bcardarella/2e6363efd6236462d66e0002960f046f to your computer and use it in GitHub Desktop.
defmodule DockYard.Mixfile do
use Mix.Project
def project do
[app: :dockyard,
version: "0.2.5",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix] ++ Mix.compilers,
deps: deps]
end
# Specifies which paths to compile per environment
defp elixirc_paths(:test), do: ["lib", "web", "test/support"]
defp elixirc_paths(:ember), do: ["lib", "web", "test/support", "test/mocks"]
defp elixirc_paths(_), do: ["lib", "web"]
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[mod: {DockYard, []},
applications: [:phoenix, :cowboy, :logger, :httpoison, :mailman, :timex, :ecto,
:postgrex, :edeliver, :scrivener, :connection, :ja_serializer]]
end
# Specifies your project dependencies
#
# Type `mix help deps` for examples and options
defp deps do
[{:phoenix, "~> 1.1.4"},
{:httpoison, "~> 0.8.3"},
{:ja_serializer, "~> 0.6.3"},
{:voorhees, github: "danmcclain/voorhees", branch: "json-api-assertions", only: :test},
{:phoenix_ecto, "~> 2.0.1"},
{:postgrex, "~> 0.11.1"},
{:scrivener, "~> 1.1.4"},
{:exvcr, "~> 0.7.2"},
{:exrm, "~> 1.0.3"},
{:timex, "~> 2.1.4"},
{:mailman, github: "danmcclain/mailman"},
{:edeliver, "~> 1.2.1"},
{:cowboy, "~> 1.0"}]
end
end
%{"bbmustache": {:hex, :bbmustache, "1.0.4"},
"certifi": {:hex, :certifi, "0.4.0"},
"cf": {:hex, :cf, "0.2.1"},
"combine": {:hex, :combine, "0.7.0"},
"connection": {:hex, :connection, "1.0.2"},
"cowboy": {:hex, :cowboy, "1.0.4"},
"cowlib": {:hex, :cowlib, "1.0.2"},
"db_connection": {:hex, :db_connection, "0.2.5"},
"decimal": {:hex, :decimal, "1.1.2"},
"earmark": {:hex, :earmark, "0.2.1"},
"ecto": {:hex, :ecto, "1.1.5"},
"edeliver": {:hex, :edeliver, "1.2.3"},
"eiconv": {:git, "https://github.com/zotonic/eiconv.git", "644fb5e7bd6640fbd073f4d28957914ea979aea0", []},
"erlware_commons": {:hex, :erlware_commons, "0.19.0"},
"ex_doc": {:hex, :ex_doc, "0.11.5"},
"exactor": {:hex, :exactor, "2.2.0"},
"exjsx": {:hex, :exjsx, "3.2.0"},
"exrm": {:hex, :exrm, "1.0.3"},
"exvcr": {:hex, :exvcr, "0.7.2"},
"gen_smtp": {:hex, :gen_smtp, "0.9.0"},
"getopt": {:hex, :getopt, "0.8.2"},
"gettext": {:hex, :gettext, "0.11.0"},
"hackney": {:hex, :hackney, "1.6.0"},
"httpoison": {:hex, :httpoison, "0.8.3"},
"idna": {:hex, :idna, "1.2.0"},
"inflex": {:hex, :inflex, "1.5.0"},
"ja_serializer": {:hex, :ja_serializer, "0.6.3"},
"jsx": {:hex, :jsx, "2.6.2"},
"mailman": {:git, "https://github.com/danmcclain/mailman.git", "df78914ed5f806c2d47eaf01e786e09a8f3d4584", []},
"meck": {:hex, :meck, "0.8.4"},
"metrics": {:hex, :metrics, "1.0.1"},
"mimerl": {:hex, :mimerl, "1.0.2"},
"phoenix": {:hex, :phoenix, "1.1.4"},
"phoenix_ecto": {:hex, :phoenix_ecto, "2.0.1"},
"plug": {:hex, :plug, "1.1.4"},
"poison": {:hex, :poison, "1.5.2"},
"poolboy": {:hex, :poolboy, "1.5.1"},
"postgrex": {:hex, :postgrex, "0.11.1"},
"providers": {:hex, :providers, "1.6.0"},
"ranch": {:hex, :ranch, "1.2.1"},
"relx": {:hex, :relx, "3.19.0"},
"scrivener": {:hex, :scrivener, "1.1.4"},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.0"},
"timex": {:hex, :timex, "2.1.4"},
"tzdata": {:hex, :tzdata, "0.5.7"},
"voorhees": {:git, "https://github.com/danmcclain/voorhees.git", "c4e7f2a82bcc79540d958ad421b93642969bc8e1", [branch: "json-api-assertions"]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment