This is an example Haxe project scaffolded by Visual Studio Code.
Without further changes the structure is following:
src/telehx
: The actual library, the source code you should be interestedsrc/Main.hx
: Hello World thingy to test the librarybuild.hxml
: Haxe command line file used to build the projectREADME.md
: This file
Current targets:
neko, node, php, cpp, java, hl
Built with Haxe 3.4.4
Haxelib libraries used:
- hxcpp
- hxjava
- hxnodejs
- hxssl ??? can't remember if the compiler complained about this.
Hashlink target requires you to build the hl version 1.1.0
utils
This folders contains some python code that generates the Haxe source code for all methods and types found
on https://core.telegram.org/bots/api, using jinja2 to handle the templates.
i'm currently dropping the python scripts to use pure haxe templates
.vscode
tasks.json
- build haxe
Tries to build the source code for all targets.
- neko, node, php, cpp, java, hl
Tasks that runs the target's executable file/main class inside the generated output folder.
- test
This task compiles and runs the neko target.
settings.json
- I don't know why i let this file exist, it's useless, nothing interesting.