Browse Source

Command-line for packaging examples in virtual file system.

Richard Gale 10 năm trước cách đây
mục cha
commit
c0aec4252f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      scripts/toolchain.lua

+ 1 - 0
scripts/toolchain.lua

@@ -992,6 +992,7 @@ function strip()
 				.. "-s TOTAL_MEMORY=268435456 "
 				.. "-s TOTAL_MEMORY=268435456 "
 				.. "--memory-init-file 1 "
 				.. "--memory-init-file 1 "
 				.. "\"$(TARGET)\" -o \"$(TARGET)\".html"
 				.. "\"$(TARGET)\" -o \"$(TARGET)\".html"
+--				.. "--preload-file ../../../examples/runtime"
 			-- ALLOW_MEMORY_GROWTH
 			-- ALLOW_MEMORY_GROWTH
 		}
 		}