Re: iOS Extensions Touch / Release Issue

Let's say you wanted to create a library called "google-analytics" on haxelib. You should have a directory called "google-analytics", and inside should be the contents of your library. This will be treated as a Haxe classpath, so put your source files …

Viewing 1 to 1 (1 Total)
Re: iOS Extensions Touch / Release Issue

singmajesty

singmajesty
Total Posts: 2192
Joined: August 25, 2011

Let's say you wanted to create a library called "google-analytics" on haxelib.

You should have a directory called "google-analytics", and inside should be the contents of your library. This will be treated as a Haxe classpath, so put your source files inside, accordingly. For NME extensions, make sure you have an "include.nmml" file inside.

You will need to put a "haxelib.xml" file inside of your directory. The easiest way to create one is to probably modify an existing file, like this one:

http://raw.github.com/jgranick/actuate/master/haxelib.xml...

Set the name for your library (matching your directory name), the user name you will use on the haxelib server, the version number, description, and so on.

Zip the directory, then run "haxelib submit google-analytics.zip" to send it up to the server. You can also use "haxelib test google-analytics.zip" to try it out locally, and make sure it installs properly.

Posted on May 13, 2012 at 1:45 AM