defmodule Reporter.Mixfile do use Mix.Project @version File.read!("VERSION") |> String.strip def project do [ app: :reporter, version: @version, elixir: "~> 1.0", name: "Reporter", source_url: "https://github.com/KazuCocoa/simple_app_reporter_ex", description: "Simple getting reviews library from AppStore and GooglePlay", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps, package: package ] end def application do [ applications: [:httpoison, :poison] ] end defp deps do [ {:httpoison, "~> 0.8"}, {:poison, "~> 2.0"}, {:feeder_ex, "~> 0.0.2"}, {:floki, "~> 0.8"}, {:earmark, "~> 0.1", only: :dev}, {:ex_doc, "~> 0.11", only: :dev}, {:dialyze, "~> 0.2.0", only: :dev} ] end defp package do [ files: ~w(lib mix.exs README.md LICENSE VERSION), maintainers: ["Kazuaki Matsuo"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/KazuCocoa/simple_app_reporter_ex"} ] end end