using n for docker node versions

This commit is contained in:
ari committed 2022-07-17 20:46:28 -04:00
1 parent 3b1b88b404
commit 8e859ff191
4 files changed
+11 -17

No files matched your search

+2 -7
View File
@@ -18,12 +18,7 @@ function install_py() {
popd
}
declare -i err=0 werr=0
install_py &
install_yarn &
while wait -fn || werr=$?; ((werr != 127)); do
err=$werr
done
install_py
install_yarn
echo "DONE BUILD"
exit $err
+4 -7
View File
@@ -2,6 +2,8 @@
set -e
function prep_yarn() {
curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
bash n lts
npm i -g yarn
}
@@ -9,12 +11,7 @@ function prep_py() {
pip install -U wheel setuptools pip Cython
}
declare -i err=0 werr=0
prep_py &
prep_yarn &
while wait -fn || werr=$?; ((werr != 127)); do
err=$werr
done
prep_py
prep_yarn
echo "DONE PREP"
exit $err