-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
43 lines (37 loc) · 1.14 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
defmodule Bencode.Mixfile do
use Mix.Project
def project do
[app: :bencode,
version: "0.3.2",
elixir: "~> 1.2",
test_pattern: "*_{test,eqc}.exs",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps()]
end
def application do
[applications: [:logger]]
end
defp description do
"""
A complete and correct Bencode encoder and decoder written in pure Elixir.
The decoder will return the info hash with along with the decoded data, and
the encoder is implemented as a protocol, allowing any data structure to be
bcode encoded.
"""
end
def package do
[files: ["lib", "mix.exs", "README*", "LICENSE"],
maintainers: ["Martin Gausby"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/gausby/bencode",
"Issues" => "https://github.com/gausby/bencode/issues",
"Contributors" => "https://github.com/gausby/bencode/graphs/contributors"}]
end
defp deps do
[{:eqc_ex, "~> 1.3.0"},
{:credo, "~> 0.6.1", only: [:dev, :test]}]
end
end