defmodule ExDocDash.Mixfile do
	use Mix.Project

	def project do
		[
			app: :ex_doc_dash,
			version: "0.3.0",
			elixir: "~> 1.0",
			deps: deps,
			description: description,
			package: package,
			name: "ExDocDash",
			docs: [extras: ["README.md"]],
			source_url: "https://github.com/JonGretar/ExDocDash",
			homepage_url: "http://hexdocs.pm/ex_doc_dash"
		]
	end

	def application do
		[applications: [:logger]]
	end

	defp deps do
		[
			{:ex_doc, ">= 0.9.0"},
			{:earmark, "~> 0.1.17 or ~> 0.2"}
		]
	end

	defp description do
		"""
		Formatter for ExDoc to generate docset documentation for use in Dash.app.
		"""
	end

	defp package do
		[
			contributors: ["Jón Grétar Borgþórsson"],
			licenses: ["MIT"],
			links: %{
				"Dash.app": "http://kapeli.com/dash",
				"GitHub": "https://github.com/JonGretar/ExDocDash",
				"Issues": "https://github.com/JonGretar/ExDocDash/issues"
			}
		]
	end
end

defmodule ExDocDash.Mixfile do
	use Mix.Project

	def project do
		[
			app: :ex_doc_dash,
			version: "0.3.0",
			elixir: "~> 1.0",
			deps: deps,
			description: description,
			package: package,
			name: "ExDocDash",
			docs: [extras: ["README.md"]],
			source_url: "https://github.com/JonGretar/ExDocDash",
			homepage_url: "http://hexdocs.pm/ex_doc_dash"
		]
	end

	def application do
		[applications: [:logger]]
	end

	defp deps do
		[
			{:ex_doc, ">= 0.12.0"}
		]
	end

	defp description do
		"""
		Formatter for ExDoc to generate docset documentation for use in Dash.app.
		"""
	end

	defp package do
		[
			contributors: ["Jón Grétar Borgþórsson"],
			licenses: ["MIT"],
			links: %{
				"Dash.app": "http://kapeli.com/dash",
				"GitHub": "https://github.com/JonGretar/ExDocDash",
				"Issues": "https://github.com/JonGretar/ExDocDash/issues"
			}
		]
	end
end

Remove earmark dependency since ExDoc already defines it
Remove earmark dependency since ExDoc already defines it

Starting in v 0.12.0, ExDoc has Earmark as a dependency. Since it's used only indirectly here by calling ExDoc.Markdown.to_html/1, we can leave it to ExDoc.
JonGretar/ExDocDash