defmodule Trot.Mixfile do
  use Mix.Project

  @version "0.1.0"

  def project do
    [app: :trot,
     version: @version,
     elixir: "~> 1.0",
     deps: deps,

     # Hex
     description: description,
     package: package]
  end

  def application do
    [applications: [:logger, :plug, :cowboy]]
  end

  defp deps do
    [
      {:plug, "~> 0.12"},
      {:cowboy, "~> 1.0"},
      {:poison, "~> 1.4"},
      {:earmark, "~> 0.1", only: :dev},
      {:ex_doc, "~> 0.7", only: :dev},
    ]
  end

  defp description do
    """
    A web micro-framework based on Plug and Cowboy.
    """
  end

  defp package do
    [contributors: ["William Huba"],
     licenses: ["Apache 2.0"],
     links: %{"GitHub" => "https://github.com/hexedpackets/trot"},
     files: ~w(mix.exs README.md LICENSE lib)]
  end
end

defmodule Trot.Mixfile do
  use Mix.Project

  @version "0.1.0-dev"

  def project do
    [app: :trot,
     version: @version,
     elixir: "~> 1.0",
     deps: deps,

     # Hex
     description: description,
     package: package]
  end

  def application do
    [applications: [:logger, :plug, :cowboy]]
  end

  defp deps do
    [
      {:plug, "~> 0.12"},
      {:cowboy, "~> 1.0"},
      {:poison, "~> 1.4"},
      {:earmark, "~> 0.1", only: :dev},
      {:ex_doc, "~> 0.7", only: :dev},
    ]
  end

  defp description do
    """
    A web micro-framework based on Plug and Cowboy.
    """
  end

  defp package do
    [contributors: ["William Huba"],
     licenses: ["Apache 2.0"],
     links: %{"GitHub" => "https://github.com/hexedpackets/trot"},
     files: ~w(mix.exs README.md LICENSE lib)]
  end
end

Add -dev tag to version
Add -dev tag to version

hexedpackets/trot