defmodule Imaginary.MixProject do @github_url "https://github.com/olaf-cichocki/Imaginary" use Mix.Project def project do [ app: :imaginary, name: "Imaginary", description: description(), version: "0.0.2", elixir: "~> 1.6", source_url: @github_url, homepage_url: @github_url, package: package(), start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.json": :test ], dialyzer: [ plt_add_apps: [:mix, :ex_unit] ], docs: [ main: "readme", extras: ["README.md", "CHANGELOG.md"] ] ] end defp description do """ Work In progress - library to handle Cloudinary in Elixir. """ end defp package do [ files: ~w(mix.exs lib LICENSE.md README.md CHANGELOG.md), maintainers: ["Olaf Cichocki"], licenses: ["MIT"], links: %{"GitHub" => @github_url, "Docs" => "https://hexdocs.pm/imaginary/"} ] 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 [ {:junit_formatter, "~> 2.1", only: :test}, {:dialyxir, "~> 1.0.0-rc.7", only: [:dev, :test], runtime: false}, {:credo, "~> 1.1", only: [:dev, :test]}, {:ex_doc, "~> 0.21", only: :dev, runtime: false}, {:excoveralls, "~> 0.12", only: :test} # {:earmark, "~> 1.4", only: :dev} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end end