Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbrown committed Jul 15, 2021
1 parent 8ec0c1d commit a5ea506
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nilsimsa

[Documentation](https://hexdocs.pm/nilsimsa)
[Documentation](https://hexdocs.pm/nilsimsa/)

```elixir
def deps do
Expand Down
18 changes: 15 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
defmodule Nilsimsa.MixProject do
use Mix.Project

@version "1.0.0"
@url "https://github.com/philipbrown/elixir-nilsimsa"

def project do
[
app: :nilsimsa,
version: "1.0.0",
version: @version,
elixir: "~> 1.11",
package: package(),
description: description(),
docs: [main: "Nilsimsa"],
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
Expand Down Expand Up @@ -39,10 +42,19 @@ defmodule Nilsimsa.MixProject do
"Nilsimsa locality-sensitive hashing algorithm in Elixir."
end

defp docs do
[
main: "Nilsimsa",
source_ref: "v#{@version}",
source_url: @url
]
end

defp package() do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/philipbrown/elixir-nilsimsa"}
maintainers: ["Philip Brown"],
links: %{"GitHub" => @url}
]
end
end

0 comments on commit a5ea506

Please sign in to comment.