-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
58 lines (51 loc) · 1.34 KB
/
mix.exs
File metadata and controls
58 lines (51 loc) · 1.34 KB
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
defmodule SshKeyEx.MixProject do
use Mix.Project
def project do
[
app: :ssh_key_ex,
version: project_version(),
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description(),
name: "SSHKeyEx",
docs: [main: "readme", extras: ["README.md"]]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp project_version do
"VERSION"
|> File.read!()
|> String.trim()
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
files: ["lib", "native", "mix.exs", "README.md", "LICENSE", "VERSION"],
maintainers: ["Denny Mueller"],
licenses: ["Apache-2.0"],
links: %{
GitHub: "https://github.com/dennym/ssh_key_ex"
}
]
end
defp description do
"SSHKeyEx is a library for working with SSH keys in Elixir through rust `ssh_key` as nif implementations"
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:rustler_precompiled, "~> 0.4"},
{:rustler, "~> 0.36.1", runtime: false},
{:ex_doc, "~> 0.14", only: :dev, runtime: false}
]
end
end