using n for docker node versions
This commit is contained in:
1 parent
3b1b88b404
commit
8e859ff191
4 files changed
+11
-17
No files matched your search
+4
-7
@@ -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
|
||||
Reference in new issue
Block a user