Browse Source

Add instructions for updating flash externs (see #4680)

Dan Korostelev 9 năm trước cách đây
mục cha
commit
f9ed9f7be1
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      extra/extract.hxml

+ 7 - 1
extra/extract.hxml

@@ -1,6 +1,12 @@
+# To rebuild Flash externs (quoting ncannasse):
+# - Remove haxe/std/flash/DIR where DIR is all directories except _std
+# - Place library.swf (extracted from playerglobal.swc) next to extract.hxml
+# - Run haxe extract.hxml
+# - Restore removed haxe/std/flash/DIR directories
+# - Copy directories from hxclasses/flash to haxe/std/flash, overwriting restored ones
 -debug
 -swf-lib library.swf
 -swf test.swf
 -swf-version 15
 --macro patchTypes("../extra/extract.patch")
---gen-hx-classes
+--gen-hx-classes