-
Notifications
You must be signed in to change notification settings - Fork 8
/
mix.exs
54 lines (50 loc) · 1.29 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
defmodule Rayex.MixProject do
use Mix.Project
def project do
[
app: :rayex,
version: "0.0.3",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
compilers: [:unifex, :bundlex] ++ Mix.compilers(),
deps: deps(),
dialyzer: [plt_add_apps: [:mix]],
# Hex
name: "Rayex",
description: "Raylib bindings for Elixir",
package: package(),
# Docs
docs: fn ->
{result, _} = Code.eval_file("docs.exs")
result
end
]
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
[
# CI
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
# Deps
{:unifex, "~> 1.2.0"},
{:bundlex, "~> 1.5"}
]
end
defp package do
[
maintainers: ["Shiryel"],
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/shiryel/rayex"},
files:
~w(.formatter.exs docs.exs README.md mix.exs bundlex.exs c_src/rayex/rayex.c c_src/rayex/rayex.h c_src/rayex/rayex.spec.exs lib)
]
end
end