-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
56 lines (48 loc) · 1.04 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
defmodule Teex.MixProject do
use Mix.Project
@source_url "https://github.com/doawoo/teex"
def project do
[
app: :teex,
version: "0.5.0",
elixir: "~> 1.10",
source_url: @source_url,
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
description: description(),
package: package(),
escript: escript()
]
end
defp escript() do
[main_module: Teex]
end
defp package() do
[
name: "teex",
licenses: ["MIT"],
maintainers: ["Digit"],
links: %{"GitHub" => @source_url}
]
end
def application do
[
extra_applications: [:logger]
]
end
defp description() do
"Use Elixir as a scripting language with Hex packages, anywhere on your system. No Mix project required!"
end
defp deps do
[
{:typed_struct, "0.2.1"},
{:jason, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:tesla, "~> 1.3.0"}
]
end
defp docs do
[extras: ["README.md"], main: "readme"]
end
end