Packages

The log formatter in GSMLG projects

Current section

Files

Jump to
Raw

mix.exs

defmodule GSMLG.Logger.MixProject do
use Mix.Project
@version "0.1.0"
def project do
[
app: :gsmlg_logger,
version: @version,
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
description: "The log formatter in GSMLG projects"
]
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"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:jason, "~> 1.4"},
{:plug, "~> 1.15", optional: true},
{:decimal, ">= 0.0.0", optional: true},
{:ecto, "~> 3.11", optional: true},
{:telemetry, "~> 1.0", optional: true},
{:stream_data, "~> 1.0", only: [:dev, :test]},
{:castore, "~> 1.0", only: [:dev, :test]},
{:excoveralls, ">= 0.15.0", only: [:dev, :test]},
{:junit_formatter, "~> 3.3", only: [:test]},
{:ex_doc, ">= 0.15.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4.0", only: [:dev], runtime: false}
]
end
defp package do
[
maintainers: ["Jonathan Gao"],
licenses: ["MIT"],
files: ~w(lib LICENSE mix.exs README.md),
links: %{
Changelog: "https://hexdocs.pm/gsmlg_logger/changelog.html"
}
]
end
end