-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
66 lines (56 loc) · 1.33 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
60
61
62
63
64
65
66
defmodule ExCmd.MixProject do
use Mix.Project
@version "0.12.0"
@scm_url "https://github.com/akash-akya/ex_cmd"
def project do
[
app: :ex_cmd,
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
compilers: Mix.compilers() ++ [:odu],
# Ensure dialyzer sees mix modules
dialyzer: [plt_add_apps: [:mix]],
# Package
package: package(),
description: description(),
# Docs
source_url: @scm_url,
homepage_url: @scm_url,
docs: [
main: "readme",
source_ref: "v#{@version}",
extras: [
"README.md",
"LICENSE"
]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp description do
"Interact with external programs with back-pressure mechanism"
end
defp package do
[
maintainers: ["Akash Hiremath"],
licenses: ["MIT"],
files: ~w(lib priv .formatter.exs mix.exs README* LICENSE* go_src),
links: %{GitHub: @scm_url}
]
end
defp deps do
[
{:gen_state_machine, "~> 3.0"},
# development & test
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
end