Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions docs/changelog.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/license.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/then.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ It's simple and clear. Move log and other side-effects out of your beautiful log

## License

`Then` is released under the MIT License - see the [LICENSE](license.html) file.
`Then` is released under the MIT License - see the [LICENSE](../LICENSE) file.
21 changes: 19 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ defmodule Then.MixProject do
def project do
[
app: :then,
version: "1.0.0",
version: "1.1.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Then",
description: description(),
package: package()
package: package(),
docs: docs()
]
end

Expand All @@ -33,6 +34,22 @@ defmodule Then.MixProject do
]
end

defp docs do
[
main: "then",
source_url: "https://github.com/bardoor/then",
extras: [
"docs/then.md",
"CHANGELOG.md",
"LICENSE"
],
groups_for_extras: [
"Documentation": ["docs/then.md"],
"Legal": ["CHANGELOG.md", "LICENSE"]
]
]
end

defp deps do
[
{:ex_doc, "~> 0.14", only: :dev, runtime: false}
Expand Down