-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
43 lines (38 loc) · 947 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
38
39
40
41
42
43
defmodule ElixirServer.MixProject do
use Mix.Project
def project do
[
app: :elixir_server,
version: "0.1.0",
deps: deps(),
escript: escript(),
description: "Easily run http server from terminal",
source_url: "https://github.com/vikram25897/elixir_server",
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :eex]
]
end
def escript do
[main_module: ElixirServer.CLI]
end
defp package do
[
licenses: ["Unlicense"],
links: %{"GitHub" => "https://github.com/vikram25897/elixir_server"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:file_system, "~> 0.2"},
{:bandit, "~> 1.0"},
{:dialyxir, "~> 1.4", only: [:dev], runtime: false},
{:credo, "~> 1.7", only: [:dev], runtime: false}
]
end
end