Current section
Files
Jump to
Current section
Files
mix.exs
defmodule IVCU.MixProject do
use Mix.Project
def project do
[
app: :ivcu,
version: "0.2.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
preferred_cli_env: [dialyzer: :test],
# Dialyzer.
dialyzer: [
plt_add_apps: [:mix],
remove_defaults: [:unknown]
],
# Docs.
name: "IVCU",
docs: docs(),
# Package.
description: description(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :crypto]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.6", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: :test, runtime: false},
{:ex_doc, "~> 0.28", only: :dev, runtime: false}
]
end
defp docs do
[
source_url: "https://github.com/elixir-ivcu/ivcu",
source_ref: "master",
extras: [
"guides/getting_started.md",
"guides/using_with_ecto.md",
"guides/using_with_phoenix.md"
],
groups_for_modules: [
Utils: [IVCU.Converter.CMD, IVCU.Storage.Local],
Internal: [
IVCU.Converter,
IVCU.Storage,
IVCU.CollectionTraverser,
IVCU.CollectionTraverser.AsyncTraverser,
IVCU.CollectionTraverser.SyncTraverser
],
Errors: [
IVCU.Converter.CMD.InvalidFormatError,
IVCU.Converter.CMD.UnknownVersionError
]
]
]
end
defp description do
"A library to validate, convert, and upload images."
end
defp package do
[
links: %{"GitHub" => "https://github.com/elixir-ivcu/ivcu"},
licenses: ["Apache-2.0"],
files: ~w[mix.exs LICENSE README.md lib guides]
]
end
end