diff --git a/mix.exs b/mix.exs index cbe5007..423ed51 100644 --- a/mix.exs +++ b/mix.exs @@ -16,6 +16,7 @@ defmodule Cloak.Ecto.MixProject do ], source_url: "https://github.com/danielberkompas/cloak_ecto", description: "Encrypted fields for Ecto", + package: package(), deps: deps(), docs: docs(), elixirc_paths: elixirc_paths(Mix.env()), @@ -47,6 +48,17 @@ defmodule Cloak.Ecto.MixProject do ] end + defp package do + [ + files: ["lib", "mix.exs", "README.md", "CHANGELOG.md", "LICENSE"], + maintainers: ["Daniel Berkompas"], + licenses: ["MIT"], + links: %{ + "GitHub" => "https://github.com/danielberkompas/cloak_ecto" + } + ] + end + defp docs do [ main: "readme",