SomeRanDev / reflaxe

Haxe framework for creating compilation targets using macros
MIT License
91 stars 4 forks source link

The other question. #5

Closed vega0 closed 11 months ago

vega0 commented 1 year ago

After creating reflaxe transpille. f.e. haxe to moonscript, how i can just add it to main project as generator? Another question, how to make reflaxe works as single file builder output? (standalone file project generator.)

SomeRanDev commented 1 year ago

I'm sorry, I'm a little confused by the questions. So sorry if these are not the answers you are looking for! 😅


To generate the library, run:

haxelib run reflaxe build

In the directory of your Reflaxe project. Then use the _Build folder as a library in another Haxe project (you can submit to haxelib or use haxelib dev)


To have the output be a single file, modify the "fileOutputType" option.