Overview of Haxe code snippets, examples and tutorials tagged with libraries.
May 23, 2016 Compilation / Compiling libraries without main class
In most cases, you want a Main class with a static main function as entry point to start your program. However, there are cases where there is no need for this - for example if you are writing a library that other programs will be using. ‥
Oct 20, 2019 Compilation / Writing target-specific modules differentiated by filename
The standard way of naming module files in haxe is <Modulename>.hx - the module name spelled with first letter capital, and ending with .hx as extension. Let's say we have the following class called Example:‥
Jul 17, 2018 Other / Publish to Haxelib using Travis and Github Releases
This tutorial will help you publish your library automatically to lib.haxe.org when you create a release on GitHub.‥