Files
Shortumation/docker/bin/prep.sh
T
2022-07-16 00:29:34 -04:00

20 lines
261 B
Bash
Executable File

#!/bin/bash
set -e
function prep_yarn() {
npm i -g yarn
}
function prep_py() {
pip install -U wheel setuptools pip
}
declare -i err=0 werr=0
prep_py &
prep_yarn &
while wait -fn || werr=$?; ((werr != 127)); do
err=$werr
done
echo "DONE PREP"
exit $err