-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
49 lines (45 loc) · 1.11 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
defmodule Jsonnet.MixProject do
use Mix.Project
def project do
[
app: :jsonnet,
version: "0.2.1",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
compilers: [:rustler] ++ Mix.compilers(),
rustler_crates: [jsonnet_bindings: []],
package: package(),
deps: deps(),
dialyzer: [
plt_add_deps: :transitive
],
description: """
A Jsonnet client for Elixir.
"""
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
maintainers: ["Michael Simpson"],
licenses: ["MPL-2.0"],
links: %{github: "https://github.com/mjs2600/jsonnet"},
files: ~w(lib native mix.exs README.md LICENSE.md)
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.0", only: [:dev]},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:jason, "~> 1.1"},
{:rustler, "~> 0.21.0"}
]
end
end