diff --git a/build.sh b/build.sh index b6326a8..b0fe1f9 100755 --- a/build.sh +++ b/build.sh @@ -30,7 +30,7 @@ def build(name): out.write_text(src) return out.stat().st_size -i = build("index.html"); p = build("player.html"); a = build("player-asbuilt.html") -print("built dist/index.html (%dKB) + dist/player.html (%dKB) + dist/player-asbuilt.html (%dKB)" - % (i // 1024, p // 1024, a // 1024)) +i = build("index.html"); p = build("player.html"); a = build("stage.html"); u = build("micro.html") +print("built index.html (%dKB) + player.html (%dKB) + stage.html (%dKB) + micro.html (%dKB)" + % (i // 1024, p // 1024, a // 1024, u // 1024)) PY diff --git a/deploy.sh b/deploy.sh index 93f068a..91d6227 100755 --- a/deploy.sh +++ b/deploy.sh @@ -43,8 +43,11 @@ sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_ echo "deployed v$BUILD ($(stat -c '%s' "$DEST_DIR/index.html") bytes) -> $DEST_DIR" sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/player.html" > "$DEST_DIR/player.html" echo "deployed player.html ($(stat -c '%s' "$DEST_DIR/player.html") bytes)" -sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/player-asbuilt.html" > "$DEST_DIR/player-asbuilt.html" -echo "deployed player-asbuilt.html ($(stat -c '%s' "$DEST_DIR/player-asbuilt.html") bytes)" +sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/stage.html" > "$DEST_DIR/stage.html" +echo "deployed stage.html ($(stat -c '%s' "$DEST_DIR/stage.html") bytes)" +sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/micro.html" > "$DEST_DIR/micro.html" +echo "deployed micro.html ($(stat -c '%s' "$DEST_DIR/micro.html") bytes)" +rm -f "$DEST_DIR/player-asbuilt.html" # renamed to stage.html # If real audio samples are added later (see the plan's GM-sample note), # sync that directory too. diff --git a/micro.html b/micro.html new file mode 100644 index 0000000..866de95 --- /dev/null +++ b/micro.html @@ -0,0 +1,241 @@ + + +
+ + +