File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,5 +32,5 @@ build_wasm:
3232.PHONY : build_wasm
3333
3434serve_wasm :
35- cd web && python3 -m http.server 8080 --bind 0.0.0.0
35+ cd docs && python3 -m http.server 8080 --bind 0.0.0.0
3636.PHONY : serve_wasm
Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ if [ ! -f pocketpy/src/common/_generated.c ]; then
66fi
77
88# Create output directory
9- rm -rf web /lib
10- mkdir -p web /lib
9+ rm -rf docs /lib
10+ mkdir -p docs /lib
1111
1212# Generate test_numpy.js from test source
1313python3 -c "
1414import json
1515with open('tests/test_numpy.py') as f:
1616 src = f.read()
1717print('var TEST_SOURCE = ' + json.dumps(src) + ';')
18- " > web /test_numpy.js
18+ " > docs /test_numpy.js
1919
2020# Common flags
2121DEFINES=" -DPK_ENABLE_OS=0 -DPK_ENABLE_THREADS=0 -DPK_ENABLE_DETERMINISM=0 \
@@ -51,8 +51,8 @@ em++ "$TMPDIR/pocketpy.o" \
5151 -sALLOW_MEMORY_GROWTH=1 \
5252 -sSTACK_SIZE=1048576 \
5353 $WARNINGS \
54- -o web /lib/pocketpy.js
54+ -o docs /lib/pocketpy.js
5555
5656rm -rf " $TMPDIR "
5757
58- echo " Build complete: web /lib/pocketpy.js, web /lib/pocketpy.wasm"
58+ echo " Build complete: docs /lib/pocketpy.js, docs /lib/pocketpy.wasm"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments