Install Haxe libraries with git.
Until there is a Haxe library manager that does proper version locking (as in CocoaPods or Yarn), I prefer checking-in all my haxelibs in my project's git.
The current folder must be initialized with git
haxelib --global install gitemall
haxelib --global run gitemall [hxml]
This command will do the following things:
- Create folder
haxelib, if not yet exist
- Parse the hxml in current directory
- For each dependencies,
git submodule addit.
- Install the libraries by specifying the path in
- Find haxelib.json in the libraries and parse it. Goto Step 3.
If the url of a library is not found (e.g. not yet published to lib.haxe.org), it will prompt for user input.