Created
December 1, 2020 00:21
-
-
Save KinoAR/9a29448e6e964ebc3187bc84bfb0043e to your computer and use it in GitHub Desktop.
A gist example of a haxe build file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Haxe Library | |
-lib LunaTea | |
-cp src | |
# JS Version | |
-D js-es=6 | |
# Enable/Disable console.log -- tracing with the below line | |
# --no-traces | |
-dce full | |
# Static Code Analysis For Removing Unnecessary Code | |
-D analyzer-optimize | |
# Haxe Source Map | |
--debug | |
# --no-inline | |
# --no-opt | |
# -D keep_inline_positions | |
# RM Version for Conditional Compilation | |
# -D compileMV | |
# Note you can call an hxml file inside an hxml file for build purposes. | |
# For Compiling Separate JavaScript Files | |
# --macro macros.MacroTools.includeJsLib("./src/Params.js") | |
# --main Main | |
--each | |
--next | |
lunavn.hxml | |
--next | |
lunalog.hxml | |
--next | |
lunavnsave.hxml | |
--next | |
lunavnload.hxml | |
--cmd 'npx napkin' | |
--cmd haxe -D gamePath=../games/LunaTechsMZ --run CleanJs | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment