Skip to content

Commit

Permalink
Merge pull request #66 from jakewilkins/pull_req
Browse files Browse the repository at this point in the history
add mix.exs file for using in Elixir projects
  • Loading branch information
jtmoulia committed Mar 30, 2017
2 parents 1a0140a + a7d7b7a commit 37b66a5
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
defmodule Switchboard.Mixfile do
use Mix.Project

def project do
[app: :switchboard,
version: "0.3.2",
compilers: [:erlang, :app],
erlc_options: [{:parse_transform, :lager_transform}, {:i, "include"}],
deps: deps()]
end

def application do
[applications: [:kernel,
:stdlib,
:inets,
:crypto,
:poolboy,
:lager,
:gproc,
:jsx]]
end

defp deps do
[
{:lager, github: "basho/lager"},
{:poolboy, github: "devinus/poolboy"},
{:cowboy, github: "ninenines/cowboy", tag: "1.0.3"},
{:gproc, github: "uwiger/gproc"},
{:jsx, github: "talentdeficit/jsx"},
{:ranch, github: "ninenines/ranch", tag: "1.1.0", override: true}
]
end
end

0 comments on commit 37b66a5

Please sign in to comment.