This commit is contained in:
alisdair sullivan 2015-04-20 16:17:40 -07:00
parent a86cbec611
commit cb3b25e1e5
4 changed files with 45 additions and 2 deletions

View file

@ -1,3 +1,8 @@
v2.5.3
* add a `mix.exs` to be buildable by both mix and rebar
* minor README updates
v2.5.2 v2.5.2
* fix regression parsing <<"-0e...">> (thanks @c-bik) * fix regression parsing <<"-0e...">> (thanks @c-bik)

View file

@ -1,4 +1,4 @@
# jsx (v2.5.2) # # jsx (v2.5.3) #
an erlang application for consuming, producing and manipulating [json][json]. an erlang application for consuming, producing and manipulating [json][json].

38
mix.exs Normal file
View file

@ -0,0 +1,38 @@
defmodule JSX.Mixfile do
use Mix.Project
def project do
[
app: :jsx,
version: "2.5.3",
description: "an erlang application for consuming, producing and manipulating json. inspired by yajl",
deps: deps(Mix.env),
package: package,
language: :erlang,
erlc_options: opts(Mix.env)
]
end
defp opts(:dev), do: [d: :TEST]
defp opts(_), do: []
defp deps(:dev), do: [{:mixunit, "~> 0.9.1", :optional}]
defp deps(_), do: []
defp package do
[
files: [
"CHANGES.md",
"LICENSE",
"mix.exs",
"rebar.config",
"README.md",
"src"
],
contributors: ["alisdair sullivan"],
links: %{"github" => "https://github.com/talentdeficit/jsx"},
licenses: ["MIT"]
]
end
end

View file

@ -1,7 +1,7 @@
{application, jsx, {application, jsx,
[ [
{description, "a streaming, evented json parsing toolkit"}, {description, "a streaming, evented json parsing toolkit"},
{vsn, "2.5.2"}, {vsn, "2.5.3"},
{modules, [ {modules, [
jsx, jsx,
jsx_encoder, jsx_encoder,