-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
59 lines (54 loc) · 1.3 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
54
55
56
57
58
59
defmodule Nectar.MixProject do
use Mix.Project
def project do
[
app: :nectar,
version: "0.1.0",
elixir: "~> 1.6",
# build_embedded
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "Nectar",
aliases: [
test: "test --no-start"
],
source_url: "https://github.com/kcelixir/nectar"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Nectar, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 0.8.10", only: :dev},
{:httpoison, "~> 1.0", only: [:dev, :test]},
{:mix_test_watch, "~> 0.5.0", only: [:dev, :test], runtime: false},
{:timex, "~> 3.1"}
]
end
defp description do
"A simple HTTP server implemented in Elixir. Intended to be a replacement for cowboy."
end
defp package do
[
# name
# organization: "kcelixir",
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: [
"Craig S. Cottingham",
"Jeffery Utter"
],
licenses: ["Apache 2.0"],
links: %{
"Github" => "https://github.com/kcelixir/nectar"
}
]
end
end