defmodule Exqute.MixProject do use Mix.Project def project do [ app: :exqute, version: "0.1.0", elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), description: "CRON-esque job scheduler for Exq", package: package(), # Docs name: "Exqute", source_url: "https://github.com/mark-d-holmberg/exqute", homepage_url: "https://github.com/mark-d-holmberg/exqute", docs: [ # The main page in the docs main: "Exqute", # logo: "path/to/logo.png", extras: ["README.md"] ] ] end # Run "mix help compile.app" to learn about applications. def application do [ applications: [:logger, :timex, :redix, :crontab, :elixir_uuid], extra_applications: [], mod: {Exqute.Application, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, "~> 0.19", only: :dev, runtime: false}, {:timex, "~> 3.1"}, {:redix, "~> 0.9.3"}, {:poison, "~> 3.1.0"}, {:crontab, "~> 1.1.2"}, {:elixir_uuid, "~> 1.2"}, {:dialyxir, "~> 0.5", only: [:dev], runtime: false}, {:toxiproxy, "~> 0.5.0", only: :test} ] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] defp package do %{ licenses: ["MIT"], links: %{"Github" => "https://github.com/mark-d-holmberg/exqute"}, maintainers: ["mark.d.holmberg@gmail.com"] } end end