      files: ["lib", "priv", "mix.exs", "package.json", "README*", "LICENSE*"],
      maintainers: ["Geoffrey Lessel"],
      licenses: ["MIT"],
-     links: %{"GitHub" => "https://github.com/geolessel/react-phoenix"}
+     links: %{"GitHub" => @source_url}
     ]
   end
 
   defp docs do
     [
       name: "ReactPhoenix",
-      source_url: "https://github.com/geolessel/react-phoenix",
+      source_url: @source_url,
       homepage_url: "http://reactphoenix.com",
       main: "readme",
       extras: ["README.md"]

defmodule ReactPhoenix.Mixfile do
  use Mix.Project

  def project do
    [app: :react_phoenix,
     version: "0.3.0",
     elixir: "~> 1.2",
     build_embedded: Mix.env == :prod,
     start_permanent: Mix.env == :prod,

      {:ex_doc, ">= 0.0.0", only: :dev},
      {:phoenix_html, "~> 2.9"},
      {:poison, "~> 2.2 or ~> 3.0"},
      {:std_json_io_2, "~> 0.2"}
    ]
  end

