compile_peg_task = "tasks/compile.peg.exs"
if File.exists?(compile_peg_task) do
  Code.eval_file "tasks/compile.peg.exs"
end

defmodule Conform.Mixfile do
  use Mix.Project

  def project do
    [app: :conform,
     version: "0.10.1",
     elixir: "~> 0.15.1",
     escript: [main_module: Conform],
     compilers: [:peg, :erlang, :elixir, :app],
     description: description,
     package: package,
     deps: deps(Mix.env)]
  end

  def application do
    [applications: []]
  end

  defp deps(_), do: [{:neotoma, github: "seancribbs/neotoma"}]

  defp description, do: "Easy release configuration for Elixir apps."
  defp package do
    [ files: ["lib", "src", "priv", "mix.exs", "README.md", "LICENSE"],
      contributors: ["Paul Schoenfelder"],
      licenses: ["MIT"],
      links: [ { "GitHub", "https://github.com/bitwalker/conform" } ] ]
  end
end

compile_peg_task = "tasks/compile.peg.exs"
if File.exists?(compile_peg_task) do
  Code.eval_file "tasks/compile.peg.exs"
end

defmodule Conform.Mixfile do
  use Mix.Project

  def project do
    [app: :conform,
     version: "0.10.1",
     elixir: "~> 0.15.1",
     escript: [main_module: Conform],
     compilers: [:peg, :erlang, :elixir, :app],
     description: description,
     package: package,
     deps: deps(Mix.env)]
  end

  def application do
    [applications: []]
  end

  defp deps(_), do: [{:neotoma, github: "seancribbs/neotoma"}]

  defp description, do: "Easy release configuration for Elixir apps."
  defp package do
    [ files: ["lib", "src", "priv", "mix.exs", "README.md", "LICENSE", "tasks"],
      contributors: ["Paul Schoenfelder"],
      licenses: ["MIT"],
      links: [ { "GitHub", "https://github.com/bitwalker/conform" } ] ]
  end
end

Add compile task to hex package
Add compile task to hex package

bitwalker/conform