-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcompile.hxml
More file actions
53 lines (40 loc) · 1 KB
/
compile.hxml
File metadata and controls
53 lines (40 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
-lib jsfps
-lib pixijs
-lib hxnodejs
-cp src
-D js-es=6
# Static Code Analysis For Removing Unnecessary Code
-D analyzer-optimize
# -D js_source_map
# Haxe Source Map
# -D source-map-content
# -D mode=dev
# Enable/Disable console.log -- tracing with the below line
# --no-traces
-D gamePath=games/KinoCreates
# Generate Documentation
# -D doc_gen
# -D js_classic
-dce full
# RM Version for Conditional Compilation
-D compileMV
# -D compileMZ
# Note you can call an hxml file inside an hxml file for build purposes.
# For Compiling Separate JavaScript Files
--each
--next
# --macro macros.JsMacros.setup()
# --macro haxe.macro.ExampleJSGenerator.use()
-js dist/test.js
-main Main
# --macro macros.MacroTools.getSourceOutput()
--next
# --macro macros.JsMacros.setup()
# --macro haxe.macro.ExampleJSGenerator.use()
-js dist/test1.js
-main Main
# --macro macros.MacroTools.getSourceOutput()
# --next
# -js dist/KITA_MessageExt.js
# -main plugins.KITA_MessageExt
--cmd haxe -D gamePath=games/KinoCreates --run CleanJs