-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmix.exs
55 lines (48 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
defmodule SSHKit.Mixfile do
use Mix.Project
@version "0.3.0"
@source "https://github.com/bitcrowd/sshkit.ex"
def project do
[
app: :sshkit,
name: "sshkit",
version: @version,
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
source_url: @source,
docs: [
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md", "CHANGELOG.md", "LICENSE"]
],
description: description(),
deps: deps(),
package: package()
]
end
def application do
[extra_applications: [:logger, :ssh]]
end
defp deps do
[
{:credo, "~> 1.6", runtime: false, only: [:dev, :test]},
{:ex_doc, "~> 0.27", runtime: false, only: [:dev]},
{:inch_ex, "~> 2.0", runtime: false, only: [:dev, :test]},
{:mox, "~> 1.0", only: :test}
]
end
defp description do
"A toolkit for performing tasks on one or more servers, built on top of Erlang’s SSH application"
end
defp package do
[
maintainers: ["bitcrowd", "Paul Meinhardt", "Paulo Diniz", "Philipp Tessenow"],
licenses: ["MIT"],
links: %{"GitHub" => @source}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end