defmodule SpotifyEx.MixProject do use Mix.Project @version "0.2.0" @source_url "https://github.com/qodot/spotifyex" def project do [ app: :spotifyex, version: @version, elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps(), name: "SpotifyEx", description: "A simple Elixir client for the Spotify Web API", package: package(), source_url: @source_url, docs: docs() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:req, "~> 0.5"}, {:ex_doc, "~> 0.34", only: :dev, runtime: false} ] end defp package do [ licenses: ["MIT"], links: %{ "GitHub" => @source_url, "Spotify Web API" => "https://developer.spotify.com/documentation/web-api" } ] end defp docs do [ main: "readme", extras: ["README.md", "CHANGELOG.md"], source_ref: "v#{@version}" ] end end