defmodule Slurp.MixProject do use Mix.Project def project do [ app: :slurp, version: "0.0.2", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, description: description(), elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), package: package(), test_paths: ["lib"], dialyzer: [ ignore_warnings: ".dialyzer_ignore.exs" ] ] end def application do [ mod: {Slurp.Application, []}, start_phases: [hydrate: []], extra_applications: [:logger, :iex] ] end defp deps do [ {:enumerati, "~> 0.0.8"}, {:ex_doc, "~> 0.22"}, {:exw3, "~> 0.5"}, {:juice, "~> 0.0.3"}, {:stored, "~> 0.0.7"}, {:table_rex, "~> 3.0"}, {:telemetry, "~> 0.4"}, {:logger_file_backend, "~> 0.0.10", only: [:dev, :test]}, {:dialyxir, "~> 1.0", only: :dev, runtime: false}, {:mix_test_watch, "~> 1.0", only: :dev, runtime: false}, {:ex_unit_notifier, "~> 0.1", only: :test} ] end defp description do "An EVM block ingestion toolkit for Elixir" end defp package do %{ licenses: ["MIT"], maintainers: ["Alex Kwiatkowski"], links: %{"GitHub" => "https://github.com/fremantle-industries/slurp"} } end defp elixirc_paths(env) when env == :test or env == :dev, do: ["lib", "examples"] defp elixirc_paths(_), do: ["lib"] end