mix: published

This commit is contained in:
Eishun Kondoh 2019-06-14 23:57:12 +09:00
parent b895439334
commit 1ae2b3ebb8
2 changed files with 17 additions and 1 deletions

View file

@ -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) [![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/) [![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) [![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 ## Overview
@ -16,7 +17,7 @@ Tres is a framework and set of helper libraries to develop OpenFlow controllers
```elixir ```elixir
def deps do def deps do
[ [
{:tres, github: "shun159/tres", branch: "develop"} {:tres, "~> 0.1.0"}
] ]
end end
``` ```

15
mix.exs
View file

@ -1,11 +1,17 @@
defmodule Tres.Mixfile do defmodule Tres.Mixfile do
use Mix.Project use Mix.Project
@description """
OpenFlow controller library for Elixir
"""
def project do def project do
[ [
app: :tres, app: :tres,
version: "0.1.0", version: "0.1.0",
description: @description,
elixir: "~> 1.8", elixir: "~> 1.8",
package: package(),
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,
compilers: [:erlang] ++ Mix.compilers(), compilers: [:erlang] ++ Mix.compilers(),
deps: deps(), deps: deps(),
@ -157,4 +163,13 @@ defmodule Tres.Mixfile do
] ]
] ]
end 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 end