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 defmodule Thrift.Mixfile do
use Mix.Project 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" @project_url "https://github.com/pinterest/elixir-thrift"
def project do def project do
@ -30,7 +37,7 @@ defmodule Thrift.Mixfile do
homepage_url: @project_url, homepage_url: @project_url,
# Hex # Hex
description: description(), description: @description,
package: package(), package: package(),
# Dialyzer # Dialyzer
@ -42,7 +49,7 @@ defmodule Thrift.Mixfile do
main: "readme", main: "readme",
extras: ["README.md": [group: "Documents", title: "README"]], extras: ["README.md": [group: "Documents", title: "README"]],
extra_section: "Overview", extra_section: "Overview",
source_ref: @version, source_ref: "thrift_tng",
source_url: @project_url]] source_url: @project_url]]
end end
@ -68,14 +75,6 @@ defmodule Thrift.Mixfile do
] ]
end 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 defp package do
[maintainers: ["Jon Parise", "Steve Cohen", "Preston Guillory"], [maintainers: ["Jon Parise", "Steve Cohen", "Preston Guillory"],
licenses: ["Apache 2.0"], licenses: ["Apache 2.0"],