-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
37 lines (33 loc) · 878 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
defmodule WebsocketsElixir.Mixfile do
use Mix.Project
def project do
[ app: :websockets_elixir,
version: "0.0.1",
elixir: "~> 0.15.0",
elixirc_paths: ["lib", "web"],
escript: escript_config,
deps: deps ]
end
# Configuration for the OTP application
def application do
[
mod: { WebsocketsElixir, [] },
applications: [:phoenix, :cowboy]
]
end
# Returns the list of dependencies in the format:
# { :foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1" }
#
# To specify particular versions, regardless of the tag, do:
# { :barbat, "~> 0.1", github: "elixir-lang/barbat" }
defp deps do
[
{:phoenix, github: "phoenixframework/phoenix"},
{:phoenix_haml, "~> 0.0.3"},
{:cowboy, "~> 1.0.0"}
]
end
defp escript_config do
[main_module: Issues.CLI]
end
end