forked from bitcrowd/sshkit.ex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
45 lines (38 loc) · 1.22 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
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"]],
description: description(),
deps: deps(),
package: package()]
end
def application do
[extra_applications: [:logger, :ssh]]
end
defp deps do
[{:credo, "~> 0.7", runtime: false, only: [:dev, :test]},
{:ex_doc, "~> 0.21.2", runtime: false, only: [:dev]},
{:inch_ex, "~> 1.0", runtime: false, only: [:dev, :test]},
{:mox, "~> 0.3", 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