defmodule Nomad.Mixfile do use Mix.Project @version "0.7.0" 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, github: "bitwalker/exrm"}, {:credo, "~> 0.3", only: [:dev, :test]}, {:ex_doc, "~> 0.11", only: [:dev]}, {:httpoison, "~> 0.8.1"}, {:table_rex, "~> 0.8.0"}, {:friendly, "~> 1.0.0"}, {:goth, "~> 0.1.2"}, {:ex_aws, github: "sashaafm/ex_aws", branch: "merge-rds-and-ec2-for-testing"}, {:gcloudex, github: "sashaafm/gcloudex"} ] 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