Prev | Current Page 292 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


upgrade Upgrades all the installed projects to the latest version.
user username Prints information on the user: id, username, e - mail, and
projects maintained.
The haxelib tool also contains commands to submit custom projects to the community repository; you
can find detailed instructions on how to submit your projects on the haxe.org website.
Using the haxelib Tool
Using the libraries in a project is very simple. Just add the following switch to your .hxml file or in the
compiler command line:
-lib projectname[:version]
If no version is indicated, then the current one will be used. By default, the current version is the latest,
unless a specific version has been installed or set as active using the set switch in haxelib command.
When the source code is compiled this way, the compiler will treat the library as part of the project as it
happens with the standard library.
150
Part I: The Core Language
Libraries from Other Projects
Many times a developer writes code that he or she wants to reuse in several projects.


Pages:
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304