defmodule DataTracer.MixProject do use Mix.Project @version "0.1.2" def project do [ app: :data_tracer, version: @version, description: description(), elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), docs: docs(), source_url: "https://github.com/axelson/data_tracer", homepage_url: "https://github.com/axelson/data_tracer" ] end # Run "mix help compile.app" to learn about applications. def application do [ mod: {DataTracer.Application, []}, extra_applications: [:logger] ] end def description do """ Elixir debug tool to facilitate inspection of data flow by capturing terms for inspection in IEx. """ end def package do [ name: :data_tracer, files: ["lib", "mix.exs", "README*", "LICENSE*"], maintainers: ["Jason Axelson"], licenses: ["Apache-2.0"], links: %{ "GitHub" => "https://github.com/axelson/data_tracer", "ChangeLog" => "https://github.com/axelson/data_tracer/blob/main/Changelog.md" } ] end def docs do [ source_ref: "v#{@version}", source_url: "https://github.com/axelson/data_tracer" ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:machete, "~> 0.3.0", only: :test}, # {:machete, path: "~/dev/forks/machete", only: :test}, {:ex_doc, "~> 0.21", only: :docs}, {:dialyxir, ">= 0.0.0", only: [:dev], runtime: false} ] end end