defmodule Regula.MixProject do use Mix.Project def project do [ app: :regula, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description(), # Docs name: "Regula", source_url: "https://github.com/heetch/regula-ex", homepage_url: "https://github.com/heetch/regula-ex", docs: [ # The main page in the docs main: "Regula", # TODO # logo: "path/to/logo.png", extras: ["README.md"] ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:httpoison, "~> 1.2"}, {:jason, "~> 1.1"}, {:bypass, "~> 0.8", only: :test}, {:mox, "~> 0.4", only: :test}, {:ex_doc, "~> 0.18.0", only: :dev, runtime: false}, {:dialyxir, "~> 1.0.0-rc.3", only: [:dev], runtime: false} ] end def description do "An Elixir client for Regula. Regula is a rule engine server." end defp package() do [ name: "regula", licenses: ["mit"], links: %{ "GitHub" => "https://github.com/heetch/regula-ex", "Regula Overview" => "https://regula.readthedocs.io/en/latest/" } ] end end