Packages
A CLI tool for analyzing cyclomatic and cognitive complexity in Elixir projects.
Current section
Files
Jump to
Current section
Files
complexity_checker_elixir
mix.exs
mix.exs
defmodule ComplexityCheckerElixir.MixProject do
use Mix.Project
def project do
[
app: :complexity_checker_elixir,
version: "0.1.0",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
escript: [main_module: ComplexityCheckerElixir],
# Hex
description: "A CLI tool for analyzing cyclomatic and cognitive complexity in Elixir projects.",
package: package(),
source_url: "https://github.com/studioraketa/complexity-checker-elixir`",
homepage_url: "https://github.com/studioraketa/complexity-checker-elixir"
]
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
[
{:jason, "~> 1.4"}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp package do
[
maintainers: ["Raketa Studio"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/your-username/complexity-checker-elixir",
"Changelog" => "https://github.com/your-username/complexity-checker-elixir/blob/main/CHANGELOG.md"
},
files: ~w(lib mix.exs README.md LICENSE)
]
end
end