-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
47 lines (41 loc) · 1.13 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
#-*-Mode:elixir;coding:utf-8;tab-width:2;c-basic-offset:2;indent-tabs-mode:()-*-
# ex: set ft=elixir fenc=utf-8 sts=2 ts=2 sw=2 et nomod:
defmodule CGroups.Mixfile do
use Mix.Project
def project do
[app: :cgroups,
version: "2.0.7",
language: :erlang,
erlc_options: [
{:d, :erlang.list_to_atom('ERLANG_OTP_VERSION_' ++ :erlang.system_info(:otp_release))},
:deterministic,
:debug_info,
:warn_export_vars,
:warn_unused_import,
:warn_missing_spec,
:warnings_as_errors],
description: description(),
package: package(),
deps: deps()]
end
def application do
[env: [
version_default: 2,
version_default_required: false,
path_v1: '/sys/fs/cgroup/',
path_v2: '/sys/fs/cgroup2/',
path_mounts: '/proc/mounts']]
end
defp deps do
[]
end
defp description do
"Erlang native cgroups interface"
end
defp package do
[files: ~w(src doc rebar.config README.markdown LICENSE),
maintainers: ["Michael Truog"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/okeuday/cgroups"}]
end
end