-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
73 lines (66 loc) · 1.45 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
70
71
72
73
defmodule Nox.MixProject do
use Mix.Project
def project, do: [
app: :nox,
version: "0.3.2",
elixir: ">= 1.3.0",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
docs: docs(),
aliases: aliases()
]
# Run "mix help compile.app" to learn about applications.
def application, do: [
extra_applications: [:logger, :crypto],
env: [
shared_dir: "/var/cache/nox"
]
]
defp aliases, do: [
"test": ["compile.nox", "test"]
]
# Run "mix help deps" to learn about dependencies.
defp deps, do: [
{:poison, ">= 2.0.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
defp package, do: [
maintainers: ["Jean Parpaillon"],
licenses: ["Apache License 2.0"],
links: %{ "GitHub" => "https://github.com/kbrw/nox"},
source_url: "https://github.com/kbrw/nox"
]
defp description, do: """
Embed a safe and reproductible node environment into your Elixir application
"""
defp docs, do: [
main: "readme",
logo: "_doc/nox.png",
extras: [
"README.md"
],
source_url: "https://github.com/kbrw/nox",
groups_for_modules: [
"Common": [
Nox,
Nox.Cli,
Nox.Cli.Stream,
Nox.Semver,
Nox.Nvm
],
"Wrappers": [
Nox.Node,
Nox.Npm,
Nox.Grunt
],
"Parsers": [
Nox.Parser,
Nox.Parsers.Logger,
Nox.Parsers.Npm,
Nox.Parsers.Grunt
]
]
]
end