-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmix.exs
More file actions
63 lines (58 loc) · 1.57 KB
/
Copy pathmix.exs
File metadata and controls
63 lines (58 loc) · 1.57 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
defmodule Etop.MixProject do
use Mix.Project
def project do
[
app: :etop,
version: "0.7.0",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
name: "Etop",
package: package(),
docs: [
main: "Etop",
extras: ["README.md", "LICENSE.md"]
],
dialyzer: [
plt_add_deps: :app_tree
],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
description: """
A Unix top like functionality for Elixir Applications.
"""
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support", "test/fixtures"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:cpu_util, "~> 0.5"},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.22.0", override: true, only: :dev, runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false, override: true}
]
end
defp package do
[
maintainers: ["Stephen Pallen"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/infinityoneframework/etop"},
files: ~w(lib README.md mix.exs LICENSE.md)
]
end
end