defmodule Phoenix.Mixfile do
  use Mix.Project

  def project do
    [
      app: :phoenix,
      version: "0.3.1",
      elixir: "~> 0.14.2",
      deps: deps(Mix.env),
      package: [
        contributors: ["Chris McCord", "Darko Fabijan"],
        licenses: ["MIT"],
        links: [github: "https://github.com/phoenixframework/phoenix"]
      ],
      description: """
      Elixir Web Framework targeting full-featured, fault tolerant applications
      with realtime functionality
      """
    ]
  end

  def application do
    [
      mod: { Phoenix, [] },
      applications: [:cowboy, :plug]
    ]
  end

  defp deps(:prod) do
    [
      {:cowboy, "~> 0.10.0", github: "extend/cowboy", optional: true},
      {:plug, "0.5.2"},
      {:inflex, "0.2.4"},
      {:linguist, "~> 0.1.0"},
      {:jazz, "0.1.2"},
      {:calliope, "~> 0.2.4"}
    ]
  end

  defp deps(_) do
    deps(:prod) ++
      [ {:ex_doc, github: "elixir-lang/ex_doc", only: [:docs]} ]
  end
end

defmodule Phoenix.Mixfile do
  use Mix.Project

  def project do
    [
      app: :phoenix,
      version: "0.3.1",
      elixir: "~> 0.14.2",
      deps: deps(Mix.env),
      package: [
        contributors: ["Chris McCord", "Darko Fabijan"],
        licenses: ["MIT"],
        links: [github: "https://github.com/phoenixframework/phoenix"]
      ],
      description: """
      Elixir Web Framework targeting full-featured, fault tolerant applications
      with realtime functionality
      """
    ]
  end

  def application do
    [
      mod: { Phoenix, [] },
      applications: [:cowboy, :plug]
    ]
  end

  defp deps(:prod) do
    [
      {:cowboy, "~> 0.10.0", github: "extend/cowboy", optional: true},
      {:plug, "0.5.2"},
      {:inflex, "0.2.4"},
      {:linguist, "~> 0.1.0"},
      {:jazz, "0.1.2"},
      {:calliope, "~> 0.2.4", optional: true}
    ]
  end

  defp deps(_) do
    deps(:prod) ++
      [ {:ex_doc, github: "elixir-lang/ex_doc", only: [:docs]} ]
  end
end

Make calliope an optional dep
Make calliope an optional dep

begleynk/phoenix,paulcsmith/phoenix,cas27/phoenix,greyhwndz/phoenix,henrik/phoenix,yoavlt/phoenix,bsodmike/phoenix,stevedomin/phoenix,lono-devices/phoenix,optikfluffel/phoenix,jamilabreu/phoenix,mitchellhenke/phoenix,romul/phoenix,optikfluffel/phoenix,korobkov/phoenix,DavidAlphaFox/phoenix,lancehalvorsen/phoenix,CultivateHQ/phoenix,mschae/phoenix,ericmj/phoenix,jeffweiss/phoenix,Kosmas/phoenix,pap/phoenix,cas27/phoenix,manukall/phoenix,mobileoverlord/phoenix,ephe-meral/phoenix,daytonn/phoenix,Kosmas/phoenix,seejee/phoenix,mvidaurre/phoenix,ephe-meral/phoenix,JHKennedy4/phoenix,andrewvy/phoenix,sdnorm/phoenix,GabrielNicolasAvellaneda/phoenix,eksperimental/phoenix,trarbr/phoenix,nshafer/phoenix,rodrigues/phoenix,javimolla/phoenix,0x00evil/phoenix,justnoxx/phoenix,bdtomlin/phoenix,0x00evil/phoenix,mitchellhenke/phoenix,gjaldon/phoenix,iguberman/phoenix,rafbgarcia/phoenix,kevinold/phoenix,CD1212/phoenix,kyledecot/phoenix,nickgartmann/phoenix,scrogson/phoenix,bitgamma/phoenix,Rumel/phoenix,nicrioux/phoenix,mvidaurre/phoenix,omotenko/phoenix_auth,doron2402/phoenix,arthurcolle/phoenix,jasond-s/phoenix,ybur-yug/phoenix,elliotcm/phoenix,ybur-yug/phoenix,StevenNunez/phoenix,phoenixframework/phoenix,dmarkow/phoenix,kidaa/phoenix,rodrigues/phoenix,Joe-noh/phoenix,VictorZeng/phoenix,beni55/phoenix,michalmuskala/phoenix,marcioj/phoenix,evax/phoenix,Smulligan85/phoenix,nshafer/phoenix,jwarwick/phoenix,maxnordlund/phoenix,doomspork/phoenix,DavidAlphaFox/phoenix,rafbgarcia/phoenix,sadiqmmm/phoenix,thegrubbsian/phoenix,hsavit1/phoenix,mobileoverlord/phoenix,FND/phoenix,kholbekj/phoenix,nshafer/phoenix,yonglehou/phoenix,lancehalvorsen/phoenix,keathley/phoenix,stevedomin/phoenix,ACPK/phoenix,jeffkreeftmeijer/phoenix,Rumel/phoenix,eksperimental/phoenix,Gazler/phoenix,jxs/phoenix,keathley/phoenix,hotvulcan/phoenix,phoenixframework/phoenix,bsmr-erlang/phoenix,dmarkow/phoenix,xtity/simple_phoenix,fbjork/phoenix,andrewvy/phoenix,linearregression/phoenix,trarbr/phoenix,y-yagi/phoenix,Smulligan85/phoenix,stefania11/phoenix,seejee/phoenix,safi/phoenix,wsmoak/phoenix,ericmj/phoenix,iStefo/phoenix,vic/phoenix,optikfluffel/phoenix,mschae/phoenix,0x00evil/phoenix,foxnewsnetwork/phoenix,robomc/phoenix,ahmetabdi/phoenix,lono-devices/phoenix,switchflip/phoenix,CultivateHQ/phoenix,manukall/phoenix,ugisozols/phoenix,esbullington/phoenix-1,Fluxuous/phoenix,brucify/phoenix,wsmoak/phoenix,gjaldon/phoenix,phoenixframework/phoenix,tony612/phoenix,bsmr-erlang/phoenix,milafrerichs/phoenix,vic/phoenix,jamilabreu/phoenix,evax/phoenix,robhurring/phoenix,jwarwick/phoenix,michalmuskala/phoenix,Joe-noh/phoenix,Eventacular/phoenix,KazuCocoa/phoenix,Dahoon/phoenix,SmartCasual/phoenix,rafbgarcia/phoenix,omotenko/phoenix_auth,korobkov/phoenix,pap/phoenix,wicliff/phoenix,Ben-Evolently/phoenix,iStefo/phoenix,Gazler/phoenix