diff --git a/README.md b/README.md index 36eb603..c391143 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![codecov](https://img.shields.io/codecov/c/github/shun159/tres/develop.svg?style=flat-square)](https://codecov.io/gh/shun159/tres) [![Supported OTP version](https://img.shields.io/badge/erlang-22.x-blue.svg?style=flat-square)](http://erlang.org/) [![LICENSE](https://img.shields.io/badge/license-SUSHI--WARE%F0%9F%8D%A3-blue.svg?style=flat-square)](https://github.com/MakeNowJust/sushi-ware) +[![hex version](https://img.shields.io/badge/hex-0.1.0-yellow.svg?style=flat-square)](https://hex.pm/packages/tres/0.1.0) ## Overview @@ -16,7 +17,7 @@ Tres is a framework and set of helper libraries to develop OpenFlow controllers ```elixir def deps do [ - {:tres, github: "shun159/tres", branch: "develop"} + {:tres, "~> 0.1.0"} ] end ``` diff --git a/mix.exs b/mix.exs index 14a6e04..92bf71b 100644 --- a/mix.exs +++ b/mix.exs @@ -1,11 +1,17 @@ defmodule Tres.Mixfile do use Mix.Project + @description """ + OpenFlow controller library for Elixir + """ + def project do [ app: :tres, version: "0.1.0", + description: @description, elixir: "~> 1.8", + package: package(), start_permanent: Mix.env() == :prod, compilers: [:erlang] ++ Mix.compilers(), deps: deps(), @@ -157,4 +163,13 @@ defmodule Tres.Mixfile do ] ] end + + defp package do + [ + maintainers: ["Eishun Kondoh"], + licenses: ["SUSHI-WARE", "Apache 2.0"], + links: %{"GitHub" => "https://github.com/shun159/tres"}, + files: ~w(.formatter.exs mix.exs README.md lib priv src) + ] + end end