eaglercraft-1.8-workspace/wasm_gc_teavm/CompileBootstrapJS.sh

5 lines
323 B
Bash
Raw Normal View History

2024-12-04 00:39:49 -08:00
#!/bin/sh
srcFolder=../src/wasm-gc-teavm-bootstrap/js
echo Compiling $srcFolder
java -jar buildtools/closure-compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --assume_function_wrapper --emit_use_strict --isolation_mode IIFE --js $srcFolder/externs.js $srcFolder/main.js --js_output_file javascript_dist/bootstrap.js