Skip to content

Commit d0f011e

Browse files
authored
Guard rails for build_wasm.sh
Checking file existence.
1 parent decc2ff commit d0f011e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/build_wasm.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
# 1. Setup paths and environment
4+
# Setup paths and environment
55
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
66
cd "${ROOT_DIR}"
77

@@ -50,9 +50,13 @@ WHEEL_FILENAME=$(basename "${SIMDEC_WHEEL_PATH}")
5050
OUT_DIR="dist/pyodide"
5151
mkdir -p "${OUT_DIR}/_static"
5252

53-
# IMPORTANT: Copy the wheel into the output directory so it's accessible via HTTP
53+
# Copy the wheel into the output directory so it's accessible via HTTP
5454
cp "${SIMDEC_WHEEL_PATH}" "${OUT_DIR}/"
5555

56+
echo "Checking file existence..."
57+
ls -R panel/
58+
ls -l dist/*.whl
59+
5660
# Convert Panel apps to Pyodide worker
5761
echo "Converting Panel apps to Pyodide worker output..."
5862
export PYTHONPATH="${ROOT_DIR}/src:${PYTHONPATH:-}"

0 commit comments

Comments
 (0)