defmodule MogoChat.Mixfile do
  use Mix.Project

  def project do
    [ app: :mogo_chat,
      version: "0.0.1",
      build_per_environment: true,
      dynamos: [MogoChat.Dynamo],
      compilers: [:elixir, :dynamo, :app],
      deps: deps(Mix.env) ]
  end

  # Configuration for the OTP application
  def application do
    [ applications: [:cowboy, :dynamo, :bcrypt, :qdate],
      mod: { MogoChat, [] } ]
  end

  defp deps(:prod) do
    [ { :cowboy, github: "extend/cowboy" },
      { :dynamo, "~> 0.1.0-dev", github: "elixir-lang/dynamo" },
      { :postgrex, github: "ericmj/postgrex" },
      { :ecto, github: "elixir-lang/ecto" },
      { :qdate, github: "choptastic/qdate" },
      { :bcrypt, github: "irccloud/erlang-bcrypt" }
    ]
  end

  defp deps(_) do
    deps(:prod) ++ [{ :hound, github: "HashNuke/hound" }]
  end
end

defmodule MogoChat.Mixfile do
  use Mix.Project

  def project do
    [ app: :mogo_chat,
      version: "0.0.1",
      build_per_environment: true,
      dynamos: [MogoChat.Dynamo],
      compilers: [:elixir, :dynamo, :app],
      deps: deps(Mix.env) ]
  end

  # Configuration for the OTP application
  def application do
    [ applications: [:cowboy, :dynamo, :bcrypt, :qdate],
      mod: { MogoChat, [] } ]
  end

  defp deps(:prod) do
    [ { :cowboy, github: "extend/cowboy" },
      { :dynamo, "~> 0.1.0-dev", github: "elixir-lang/dynamo" },
      { :postgrex, github: "ericmj/postgrex" },
      { :ecto, github: "elixir-lang/ecto" },
      { :jsex, github: "talentdeficit/jsex" },
      { :qdate, github: "choptastic/qdate" },
      { :bcrypt, github: "irccloud/erlang-bcrypt" }
    ]
  end

  defp deps(_) do
    deps(:prod) ++ [{ :hound, github: "HashNuke/hound" }]
  end
end

Add jsex as dependency explicitly
Add jsex as dependency explicitly

louishawkins/mogo-chat,HashNuke/mogo-chat,HashNuke/mogo-chat,sashafklein/bloc-mogo,louishawkins/mogo-chat,sashafklein/bloc-mogo,di-stars/mogo-chat,louishawkins/mogo-chat,di-stars/mogo-chat,di-stars/mogo-chat,sashafklein/bloc-mogo,HashNuke/mogo-chat