THRIFT-2829 Support haxelib installation via github
Client: Haxe
Patch: Jens Geyer
This closes #268
diff --git a/lib/haxe/README.md b/lib/haxe/README.md
index 82525d4..5ae5e4c 100644
--- a/lib/haxe/README.md
+++ b/lib/haxe/README.md
@@ -25,15 +25,33 @@
Thrift requires Haxe 3.1.3.
+Thrift Haxe bindings can be set up via the `haxelib` tool from github.
+
+- To set up any **stable version**, choose the appropriate branch (e.g. `0.9.3`):
+
+ `haxelib git thrift https://github.com/apache/thrift.git 0.9.3 lib/haxe`
+
+- To set up the current **development version**, use the `master` branch:
+
+ `haxelib git thrift https://github.com/apache/thrift.git master lib/haxe`
+
+As usual, the installed library can be updated using `haxelib upgrade`
+or `haxelib update thrift`.
+
+In order to work with Thrift, you will need to install the Thrift compiler
+or build from source, depending on your operating system. Appropriate
+downloads and more information can be found at http://thrift.apache.org
+
To get started, visit the /tutorial/haxe and /test/haxe dirs for examples.
-If you are using HIDE, you'll find the HIDE project files in these folders.
+If you are using HIDE or the FlashDevelop IDE, you'll find appropriate
+project files in these folders.
Current status
========================
- tested with Haxe C++ target
- transports: Socket, HTTP (client only), Stream
-- protocols: Binary, JSON
+- protocols: Binary, JSON, Multiplex
- tutorial client and server available
- cross-test client and server available
diff --git a/lib/haxe/haxelib.json b/lib/haxe/haxelib.json
index a3bde74..c780ebe 100644
--- a/lib/haxe/haxelib.json
+++ b/lib/haxe/haxelib.json
@@ -1,11 +1,11 @@
{
"name": "thrift",
- "url" : "http://thrift.apache.org",
- "license": "Apache",
+ "url" : "https://github.com/apache/thrift/tree/master/lib/haxe",
+ "license": "Apache 2.0",
"tags": ["thrift", "rpc", "serialization", "cross", "framework"],
"description": "Haxe bindings for the Apache Thrift RPC and serialization framework",
- "version": "0.9.2-beta.1",
- "releasenote": "First release, based on Apache Thrift 0.9.2. For details see THRIFT-2644.",
- "contributors": ["JensG"],
- "dependencies": {}
+ "version": "1.0.0-dev.141115",
+ "releasenote": "The Apache Thrift compiler needs to be installed separately, see http://thrift.apache.org",
+ "contributors": ["Apache Software Foundation (ASF)"],
+ "dependencies": { }
}