|
|
@ -20,12 +20,14 @@ else |
|
|
|
echo "Release selected: ${CHECKOUT}" |
|
|
|
echo "Release selected: ${CHECKOUT}" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
REPO_PATH=vscodium |
|
|
|
|
|
|
|
|
|
|
|
echo "Getting the source..." |
|
|
|
echo "Getting the source..." |
|
|
|
REPO_PATH=vscodium ./getsauce.sh "git" \ |
|
|
|
REPO_PATH="$REPO_PATH" ./getsauce.sh "git" \ |
|
|
|
"${REPO_URL}" \ |
|
|
|
"${REPO_URL}" \ |
|
|
|
"${CHECKOUT}" |
|
|
|
"${CHECKOUT}" |
|
|
|
|
|
|
|
|
|
|
|
NODE_VERSION="$(cat project/.nvmrc)" |
|
|
|
NODE_VERSION="$(cat $REPO_PATH/.nvmrc)" |
|
|
|
|
|
|
|
|
|
|
|
echo "Checking if node is already installed..." |
|
|
|
echo "Checking if node is already installed..." |
|
|
|
if command -v node; then |
|
|
|
if command -v node; then |
|
|
@ -33,7 +35,7 @@ if command -v node; then |
|
|
|
node --version |
|
|
|
node --version |
|
|
|
else |
|
|
|
else |
|
|
|
echo "Node not installed." |
|
|
|
echo "Node not installed." |
|
|
|
echo "Building node..." |
|
|
|
echo "Building node ($NODE_VERSION)..." |
|
|
|
./build.npm.sh $NODE_VERSION |
|
|
|
./build.npm.sh $NODE_VERSION |
|
|
|
#./install.npm.thirdparty.sh && sudo apt-get -qq -y --no-install-recommends install python-is-python3 |
|
|
|
#./install.npm.thirdparty.sh && sudo apt-get -qq -y --no-install-recommends install python-is-python3 |
|
|
|
fi |
|
|
|
fi |
|
|
|