defmodule ProcessHub.MixProject do use Mix.Project def project do [ app: :process_hub, version: "0.1.2-alpha", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), name: "ProcessHub", description: "Distributed process management for Elixir applications", source_url: "https://github.com/alfetahe/process-hub", package: [ files: ~w(lib .formatter.exs mix.exs README* LICENSE*), licenses: ["GPL-3.0"], links: %{"GitHub" => "https://github.com/alfetahe/process-hub"} ], docs: [ main: "ProcessHub", extras: ["README.md"], authors: ["Anuar Alfetahe"] ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :runtime_tools] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:blockade, "~> 0.1.0"}, {:hash_ring, "~> 0.4.2"}, {:ex_doc, "~> 0.30.6", only: :dev, runtime: false} ] end defp elixirc_paths(:test), do: ["lib", "test/helper"] defp elixirc_paths(_), do: ["lib"] end