-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
53 lines (47 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
defmodule Varint.Mixfile do
use Mix.Project
@source_url "https://github.com/ahamez/varint"
def project do
[
app: :varint,
version: "1.4.0",
elixir: "~> 1.14",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Varint",
source_url: @source_url,
docs: [main: "readme", extras: ["README.md"]],
description: description(),
dialyzer: [plt_local_path: "priv/plts"],
package: package(),
test_coverage: [tool: ExCoveralls]
]
end
def application do
[]
end
defp deps do
[
{:castore, "~> 1.0", only: :test, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:excoveralls, "~> 0.13", only: [:test], runtime: false}
]
end
defp description do
"""
A library to compress integers using LEB128.
"""
end
defp package do
[
name: :varint,
files: ["lib", "mix.exs", "README*", "LICENSE"],
maintainers: ["Alexandre Hamez"],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end