Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ExSTARS.MixProject do
use Mix.Project
@source_url "https://github.com/tombo-works/ex_stars"
def project do
[
app: :ex_stars,
version: "0.1.2",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer()
] ++ hex() ++ docs()
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {ExSTARS.Application, []},
extra_applications: [:logger, :wx, :observer]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
defp hex() do
[
description: "Elixir STARS library.",
package: [
files: ~w"LICENSES lib README.md REUSE.toml mix.exs",
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url}
]
]
end
defp docs() do
[
name: "ExSTARS",
source_url: @source_url,
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
defp dialyzer() do
[
plt_local_path: "priv/plts/ex_stars.plt",
plt_core_path: "priv/plts/core.plt"
]
end
end