Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ExmonLib.MixProject do
use Mix.Project
def project do
[
app: :exmon_lib,
version: "0.1.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "exmon_lib",
source_url: "https://github.com/evanespen/exmon_lib",
description: description(),
package: package(),
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
]
end
defp description() do
"ExmonLib is an Elixir library that provides functionality to extract system metrics and monitoring data from the host system. It collects information about CPU, RAM, disks, filesystem, and uptime."
end
defp package() do
[
name: "exmon_lib",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/evanespen/exmon_lib"}
]
end
end