defmodule Sham.MixProject do use Mix.Project @github_url "https://github.com/andrewtimberlake/sham" @version "1.2.2" def project do [ app: :sham, version: @version, elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), source_url: @github_url, docs: fn -> [ source_ref: "#{@version}", canonical: "http://hexdocs.pm/sham", main: "Sham", source_url: @github_url, extras: ["README.md"] ] end, description: description(), package: package() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :ssl, :telemetry], mod: {Sham.Application, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:plug_cowboy, "~> 2.0", optional: true}, {:bandit, "~> 1.0", optional: true}, {:mint, "~> 1.0", only: :test}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end defp description do """ An Elixir mock HTTP(S) server useful for testing HTTP(S) clients. """ end defp package do [ maintainers: ["Andrew Timberlake"], contributors: ["Andrew Timberlake"], licenses: ["MIT"], links: %{"Github" => @github_url} ] end end