Update packaging to reflect our 2.0.0-dev status (#117)

This commit is contained in:
Jon Parise 2016-12-30 16:09:25 -08:00 committed by GitHub
parent 3814fb862b
commit fa4d091fdb

21
mix.exs
View File

@ -1,7 +1,14 @@
defmodule Thrift.Mixfile do
use Mix.Project
@version "1.3.1"
@description """
Elixir implementation of the Thrift service framework
This package includes support for parsing Thrift IDL files, working with the
Thrift binary protocol, and building high-performance clients and servers.
"""
@version "2.0.0-dev"
@project_url "https://github.com/pinterest/elixir-thrift"
def project do
@ -30,7 +37,7 @@ defmodule Thrift.Mixfile do
homepage_url: @project_url,
# Hex
description: description(),
description: @description,
package: package(),
# Dialyzer
@ -42,7 +49,7 @@ defmodule Thrift.Mixfile do
main: "readme",
extras: ["README.md": [group: "Documents", title: "README"]],
extra_section: "Overview",
source_ref: @version,
source_ref: "thrift_tng",
source_url: @project_url]]
end
@ -68,14 +75,6 @@ defmodule Thrift.Mixfile do
]
end
defp description do
"""
A collection of utilities for working with Thrift in Elixir.
Provides a copy of the Apache Thrift Erlang runtime.
"""
end
defp package do
[maintainers: ["Jon Parise", "Steve Cohen", "Preston Guillory"],
licenses: ["Apache 2.0"],