-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
58 lines (53 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
46
47
48
49
50
51
52
53
54
55
56
57
58
defmodule Whatlangex.MixProject do
use Mix.Project
def project do
[
app: :whatlangex,
version: "0.2.1",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "Whatlang NIF bindings",
homepage_url: "https://github.com/pierrelegall/whatlangex",
package: package()
]
end
def package() do
[
maintainers: ["Pierre Le Gall"],
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/pierrelegall/whatlangex"
},
files: package_files()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:rustler, "~> 0.34"}
]
end
defp package_files do
~w(
.formatter.exs
LICENSE
README.md
lib/
mix.exs
native/whatlang_nif/.cargo/
native/whatlang_nif/Cargo.lock
native/whatlang_nif/Cargo.toml
native/whatlang_nif/README.md
native/whatlang_nif/src/
)
end
end