Add package details, premium support to README

This commit is contained in:
Daniel Berkompas 2018-01-02 09:40:29 -08:00
parent 278ab8e497
commit 2857f8049c
2 changed files with 25 additions and 1 deletions

View file

@ -250,3 +250,9 @@ To contribute code to this project, you'll need to:
- [ ] Increase test coverage to >90%
- [ ] Spec for `--append` option
## Premium Support
[Infinite Red](https://infinite.red) offers premium support for this library and general web &
mobile app design/development services. Get in touch [here](https://infinite.red/contact) or email us at [hello@infinite.red](mailto:hello@infinite.red).
![Infinite Red Logo](https://infinite.red/images/infinite_red_logo_colored.png)

20
mix.exs
View file

@ -19,7 +19,8 @@ defmodule Elasticsearch.Mixfile do
"coveralls.semaphore": :test
],
docs: docs(),
deps: deps()
deps: deps(),
package: package()
]
end
@ -31,6 +32,23 @@ defmodule Elasticsearch.Mixfile do
]
end
def package do
[
files: ~w(
lib
CHANGELOG.md
LICENSE
README.md
mix.exs
),
maintainers: ["Daniel Berkompas"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/infinitered/elasticsearch-elixir"
}
]
end
# Specifies which paths to compile per environment
defp elixirc_paths(env) when env in ~w(test dev)a, do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]