-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
85 lines (75 loc) · 1.95 KB
/
mix.exs
File metadata and controls
85 lines (75 loc) · 1.95 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
defmodule ElixirProto.MixProject do
use Mix.Project
@version "0.2.0"
@source_url "https://github.com/maxohq/elixir_proto"
def project do
[
app: :elixir_proto,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Co-located tests
test_paths: ["test", "lib"],
test_pattern: "*_test.exs",
# Hex
package: package(),
description: description(),
# Docs
name: "ElixirProto",
source_url: @source_url,
homepage_url: @source_url,
docs: docs()
]
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.29", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:maxo_test_iex, "~> 0.1", only: [:test]},
{:benchee, "~> 1.0", only: :dev}
]
end
defp description do
"""
A compact serialization library for Elixir using context-scoped schema registries.
Eliminates global index collisions while maintaining wire format compatibility.
"""
end
defp package do
[
name: "elixir_proto",
files: ~w(lib test README.md CHANGELOG.md LICENSE mix.exs),
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => "#{@source_url}/blob/main/CHANGELOG.md",
"Benchmarks" => "#{@source_url}/blob/main/BENCHMARK_RESULTS.md"
},
maintainers: ["Roman Heinrich"]
]
end
defp docs do
[
main: "readme",
name: "ElixirProto",
source_ref: "v#{@version}",
canonical: "http://hexdocs.pm/elixir_proto",
source_url: @source_url,
extras: [
"README.md",
"CHANGELOG.md",
"BENCHMARK_RESULTS.md",
"benchmark_output_latest.txt",
"PITCH.md"
]
]
end
end