defmodule Nomad.Mixfile do use Mix.Project @version "0.5.1" def project do [ app: :nomad, version: @version, elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps, description: "Create cloud portable Elixir and Phoenix apps. Write once, use everywhere!", package: package ] end def application do [ applications: [:logger, :httpoison, :friendly, :goth, :table_rex], mod: {Nomad, []} ] end defp deps do [ {:exrm, "~> 1.0.1"}, {:credo, "~> 0.3", only: [:dev, :test]}, {:ex_doc, "~> 0.11", only: [:dev]}, {:earmark, ">= 0.0.0", only: [:dev]}, {:httpoison, "~> 0.8.1"}, {:table_rex, "~> 0.8.0"}, {:friendly, "~> 1.0.0"}, {:goth, "~> 0.0.1"}, {:ex_aws, github: "sashaafm/ex_aws", branch: "merge-rds-and-ec2-for-testing", optional: true}, {:gcloudex, "~> 0.4.3", optional: true} ] end defp package do [ licenses: ["MIT"], name: :nomad, maintainers: ["Sasha Fonseca"], links: %{"GitHub" => "https://github.com/sashaafm/nomad"}, source_url: "https://github.com/sashaafm/nomad", homepage_url: "https://github.com/sashaafm/nomad", docs: [extras: "README.md"] ] end end