Packages

Elixir library for defining and executing use cases (the application-layer building blocks of architectires like Clean Architecture) with synchronous and asynchronous execution.

Current section

Files

Jump to
interact mix.exs
Raw

mix.exs

defmodule Interact.MixProject do
use Mix.Project
def project do
[
app: :interact,
version: "1.0.2",
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
name: "Interact",
source_url: "https://gitlab.com/aherranz/interact"
]
end
defp elixirc_paths(:test), do: ["lib", "test/support", "examples"]
defp elixirc_paths(:dev), do: ["lib", "examples"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Interact.Application, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp description do
"Elixir library for defining and executing use cases (the application-layer building blocks of architectires like Clean Architecture) with synchronous and asynchronous execution."
end
defp package do
[
licenses: ["MIT"],
links: %{"GitLab" => "https://gitlab.com/aherranz/interact"}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
end
end