forked from philss/rustler_precompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
52 lines (46 loc) · 1.12 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
defmodule RustlerPrecompiled.MixProject do
use Mix.Project
@version "0.7.1"
@repo "https://github.com/philss/rustler_precompiled"
def project do
[
app: :rustler_precompiled,
version: @version,
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
description: "Make the usage of precompiled NIFs easier for projects using Rustler",
package: package(),
docs: docs(),
deps: deps()
]
end
def application do
[
extra_applications: [:logger, :inets, :ssl]
]
end
defp docs do
[
main: "RustlerPrecompiled",
extras: ["PRECOMPILATION_GUIDE.md", "CHANGELOG.md"],
source_url: @repo,
source_ref: "v#{@version}"
]
end
defp deps do
[
{:rustler, "~> 0.23", optional: true},
{:castore, "~> 0.1 or ~> 1.0"},
{:ex_doc, "~> 0.27", only: :dev},
{:bypass, "~> 2.1", only: :test}
]
end
defp package do
%{
licenses: ["Apache-2.0"],
maintainers: ["Philip Sampaio"],
files: ~w(lib mix.exs README.md CHANGELOG.md PRECOMPILATION_GUIDE.md),
links: %{"GitHub" => @repo}
}
end
end