-
Notifications
You must be signed in to change notification settings - Fork 6
/
mix.exs
69 lines (62 loc) · 1.58 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
defmodule StreamGzip.Mixfile do
use Mix.Project
@source_url "https://github.com/ne-sachirou/stream_gzip"
@version "0.4.2"
def project do
[
app: :stream_gzip,
version: @version,
build_embedded: Mix.env() == :prod,
deps: deps(),
dialyzer: [
flags: [:no_undefined_callbacks],
remove_defaults: [:unknown]
],
elixir: "~> 1.7",
package: package(),
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.github": :test,
"coveralls.html": :test
],
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
# Docs
name: "StreamGzip",
docs: docs()
]
end
def application, do: [extra_applications: []]
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:inner_cotton, github: "ne-sachirou/inner_cotton", only: [:dev, :test]},
{:stream_hash, "~> 0.1", only: :test}
]
end
defp package do
[
name: :stream_gzip,
description: "Gzip or gunzip a stream.",
files: ["LICENSE", "README.md", "mix.exs", "lib"],
licenses: ["GPL-3.0-or-later"],
maintainers: ["ne_Sachirou <[email protected]>"],
links: %{GitHub: @source_url}
]
end
defp docs do
[
extras: [
LICENSE: [title: "License"],
"README.md": [title: "Overview"]
],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
homepage_url: @source_url,
api_reference: false,
formatters: ["html"]
]
end
end