gristlabs_grist-core/sandbox/pyodide/setup.sh
2024-03-25 09:55:20 -04:00

16 lines
280 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo ""
echo "###############################################################"
echo "## Get pyodide node package"
if [[ ! -e _build/worker ]]; then
mkdir -p _build/worker
cd _build/worker
yarn init --yes
yarn add pyodide@0.23.4
cd ../..
fi