Run lix Build
in the terminal to build the neko bytecode.
Run the following in the terminal:
lix PrepareTest
to generate a HL/C code sample (which is a simple Hello World). This only needs to be done once.lix Test
to test compiling the HL/C code generated above, using the current source code ofhlc-compiler
.- Additional arguments:
main
for testing themain()
functionneko
for testing the neko bytecodeno-args
for testing without argumentsall
for all of the above
- Additional arguments:
- Run
lix Format
to format code. - Run
lix Build
to update the neko bytecode. - Run
lix Test all
to test everything. - Check if hlc-compiler-sample still works.
Submission to Haxelib
- Update the library version.
- Update
version
in theConstants
module. - Update
haxelib.json
.
- Update
- Check and update everything (see the "Maintain" section above).
- Reflect to the main branch on GitHub, and add a version tag.
- Pack the library by
lix Pack
, which generateslib.zip
. - Submit the library by
haxelib submit lib.zip
.