Skip to content

Commit

Permalink
doc extras
Browse files Browse the repository at this point in the history
  • Loading branch information
scrogson committed Dec 19, 2015
1 parent 6d453a2 commit e9287ae
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ defmodule Hedwig.Mixfile do
[app: :hedwig,
version: @version,
elixir: "~> 1.0 or ~> 1.2",
docs: docs,
deps: deps,
package: package,
name: "Hedwig",
Expand All @@ -23,8 +24,14 @@ defmodule Hedwig.Mixfile do
mod: {Hedwig, []}]
end

defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib", "responders"]
defp docs do
[extras: docs_extras,
main: "readme"]
end

defp docs_extras do
["README.md"]
end

defp deps do
[{:gproc, "~> 0.5"},
Expand All @@ -37,6 +44,9 @@ defmodule Hedwig.Mixfile do
{:ex_doc, "~> 0.10", only: :dev}]
end

defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib", "responders"]

defp package do
[files: ["lib", "responders", "priv", "mix.exs", "README*", "readme*", "LICENSE*", "license*"],
maintainers: ["Sonny Scroggin"],
Expand Down

0 comments on commit e9287ae

Please sign in to comment.