-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
53 lines (48 loc) · 1.27 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
defmodule Flux.Mixfile do
use Mix.Project
def project do
[
app: :flux,
version: "0.1.1",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
package: package(),
deps: deps(),
description: """
A lightweight and functional http server designed from the ground up to work with plug.
"""
]
end
def application do
[
# extra_applications: [:logger],
applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:ex_doc, "~> 0.19.1", only: :dev},
{:httpoison, "~> 1.0", only: :test},
{:excoveralls, "~> 0.8", only: :test},
{:websockex, "~> 0.4.0", only: :test},
{:benchee, "~> 0.13.1", only: :dev},
{:stream_data, "~> 0.1", only: :test}
]
end
defp package do
[
maintainers: [
"Chris Freeze"
],
licenses: ["MIT"],
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
links: %{"GitHub" => "https://github.com/cjfreeze/flux"}
]
end
end