forked from ianatha/ledgerex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
66 lines (61 loc) · 1.49 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
defmodule Ledger.MixProject do
use Mix.Project
@name :ledgerex
@version "0.0.1"
@maintainers ["Ian Atha <[email protected]>"]
@github "https://github.com/ianatha/#{@name}"
@source_url @github
@homepage_url @github
@description """
Parser for ledger-cli accounting files.
"""
def project do
[
app: @name,
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
package: package(),
description: @description,
source_url: @source_url,
homepage_url: @homepage_url,
preferred_cli_env: [
coveralls: :test,
"coveralls.html": :test,
"coveralls.detail": :test,
"coveralls.json": :test,
"coveralls.post": :test,
"coveralls.travis": :test
]
]
end
defp deps do
[
{:nimble_parsec, "~> 1.2"},
{:decimal, "~> 2.0"},
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.12", only: [:test]},
{:dialyxir, "~> 1.0.0-rc.7", only: [:dev], runtime: false}
]
end
defp package do
[
name: @name,
files: [
"lib",
"mix.exs",
"README.md",
"LICENSE.md"
],
maintainers: @maintainers,
licenses: ["Apache 2.0"],
links: %{
"GitHub" => @github
}
]
end
end