defmodule Toolbox.Mixfile do use Mix.Project def project do [ app: :toolbox, version: "5.3.1", description: description(), package: package(), elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps(), docs: [ deps: [runbox: "https://hexdocs.pm/altworx_runbox/"], before_closing_body_tag: &before_closing_body_tag/1 ], dialyzer: [ list_unused_filters: true ] ] end def application do [ extra_applications: [:logger] ] end defp description do """ Toolbox is a library for writing Altworx scenarios. """ end defp package do [ name: :altworx_toolbox, licenses: [ "BSD-3-Clause" ], links: [] ] end defp deps do [ {:uuid, "~> 1.1"}, {:crontab, "~> 1.1.7"}, {:runbox, "~> 9.0.0", hex: :altworx_runbox}, # development tools {:credo, "~> 1.6.3", only: [:dev, :test], runtime: false}, {:credo_naming, "~> 2.0.0", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.1.0", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.29.1", only: :dev, runtime: false}, {:junit_formatter, "~> 3.1", only: [:test]} ] end defp before_closing_body_tag(:html) do """ """ end defp before_closing_body_tag(_format), do: "" end