-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmix.exs
More file actions
57 lines (51 loc) · 1.01 KB
/
mix.exs
File metadata and controls
57 lines (51 loc) · 1.01 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
defmodule NimbleCSV.Mixfile do
use Mix.Project
@source_url "https://github.com/dashbitco/nimble_csv"
@version "1.3.0"
def project do
[
app: :nimble_csv,
version: @version,
elixir: "~> 1.15",
name: "NimbleCSV",
description: "A simple and fast CSV parsing and dumping library",
deps: deps(),
docs: docs(),
package: package()
]
end
def cli do
[
preferred_envs: [
docs: :docs,
"hex.publish": :docs
]
]
end
defp deps do
[
{:ex_doc, "~> 0.18", only: :docs},
{:benchee, "~> 1.0", only: :dev}
]
end
defp docs do
[
main: "NimbleCSV",
source_ref: "v#{@version}",
source_url: @source_url,
extras: [
"CHANGELOG.md"
]
]
end
defp package do
[
licenses: ["Apache-2.0"],
maintainers: ["José Valim"],
links: %{
"Changelog" => "https://hexdocs.pm/nimble_csv/changelog.html",
"GitHub" => @source_url
}
]
end
end