checkpoint

This commit is contained in:
Jeff Epler 2020-12-31 13:07:32 -06:00
parent d9216c3c10
commit d42f67dfc9
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
mkdir output
[ -d output ] || mkdir output
emcc -Wall -Werror -s SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ASSERTIONS=2 -s FORCE_FILESYSTEM=1 -s EXPORTED_RUNTIME_METHODS="['ccall']" -DPACKAGE_STRING=\"bdftopcf\" -I . *.c -o output/index.html --shell-file shell.html
emcc -O -Wall -Werror -s SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ASSERTIONS=2 -s FORCE_FILESYSTEM=1 -s EXPORTED_RUNTIME_METHODS="['ccall']" -DPACKAGE_STRING=\"bdftopcf\" -I . *.c -o output/index.html --shell-file shell.html

View file

@ -20,7 +20,7 @@ fd.write(b"data <<EOF" + b"\n")
fd.write(b"Docs built at " + version.encode('utf-8') + b"\n")
fd.write(b"EOF" + b"\n")
files = glob.glob("doc/*")
files = glob.glob("output/*")
for fn in files:
with open(fn, 'rb') as f: contents = f.read()
fd.write(b"M 644 inline " + os.path.basename(fn).encode('utf-8') + b"\n")

View file

@ -60,9 +60,9 @@
<figure style="overflow:visible;" id="spinner"><div class="spinner"></div><center style="margin-top:0.5em"><strong>emscripten</strong></center></figure>
<div class="emscripten" id="status">Downloading...</div>
<div class="emscripten">
<progress value="0" max="100" id="progress" hidden=1></progress>
<progress value="0" max="100" id="progress" hidden=1></progress>
</div>
<form method="POST" enctype="multipart/form-data">
<label for="bdffont">Browse</label><input type="file" id="bdffont" name="bdffont" accept=".bdf" style="opacity:0"/>
<br>