defmodule ApiPlayground.Mixfile do use Mix.Project def project do [ app: :api_playground, version: "0.1.2", elixir: "~> 1.5", start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :plug, :cowboy] ] end defp description do "A playground for experimenting with Phoenix APIs" end defp package do [ # These are the default files included in the package files: ["lib", "priv", "mix.exs", "README*"], maintainers: ["Kasra Jamshidi"], licenses: ["BSD-3"], links: %{"GitLab" => "https://gitlab.com/lasfter/api-playground"} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}, {:plug, ">= 1.0.0"}, {:cowboy, ">= 1.0.0"}, {:ex_doc, ">= 0.0.0", only: :dev} ] end end