defmodule Tile38.Mixfile do use Mix.Project def project do [ app: :tile38, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), description: description(), package: package(), source_url: "https://gitlab.com/jaigouk/tile38", test_coverage: [tool: ExCoveralls], preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test] ] end def application do [ extra_applications: [:logger, :redix], mod: {Tile38.Application, []} ] end defp deps do [ {:redix, "~> 0.6.1"}, {:gen_stage, "~> 0.12"}, {:credo, "~> 0.8", only: [:dev, :test], runtime: false}, {:mix_test_watch, "~> 0.3", only: [:dev], runtime: false}, {:excoveralls, "~> 0.7", only: :test}, {:ex_doc, "~> 0.14", only: :dev} ] end defp description() do "tile38-server wrapper" end defp package() do [ # This option is only needed when you don't want to use the OTP application name name: "tile38", # These are the default files included in the package files: ["lib", "priv", "config", "mix.exs", "README*", "LICENSE*"], maintainers: ["Jaigouk Kim"], licenses: ["Apache 2.0"], links: %{"Gitlab" => "https://gitlab.com/jaigouk/tile38"} ] end end