-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
66 lines (58 loc) · 1.38 KB
/
mix.exs
File metadata and controls
66 lines (58 loc) · 1.38 KB
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
59
60
61
62
63
64
65
66
defmodule VectorTile.MixProject do
use Mix.Project
defp source_url, do: "https://github.com/box-id/vector_tile"
def project do
[
app: :vector_tile,
version: "1.1.0",
description:
"Implementation of the [Vector Tile Spec](https://github.com/mapbox/vector-tile-spec/tree/master/2.1), version 2.1. This
package allows you to efficiently build vector tiles including layers and features with geometry and encode them to
protobuf.",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Docs
name: "VectorTile",
source_url: source_url(),
docs: docs(),
package: package()
]
end
def cli do
[preferred_envs: ["test.watch": :test]]
end
defp docs do
[
main: "readme",
extras: ["README.md"],
nest_modules_by_prefix: [VectorTile]
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"Changelog" => source_url() <> "/releases",
"GitHub" => source_url()
},
keywords: [
"vector",
"tile",
"map"
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:protobuf, "~> 0.15.0"},
{:mix_test_watch, "~> 1.3", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true}
]
end
end