...
This commit is contained in:
@@ -2,21 +2,21 @@
|
||||
|
||||
set -e
|
||||
|
||||
cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development
|
||||
cd /workspace/code//github/threefoldfoundation/www_threefold_io
|
||||
|
||||
rm -f yarn.lock
|
||||
rm -rf .cache
|
||||
|
||||
#set +e
|
||||
#source /home/gitpod/.publisher/nvm.sh
|
||||
#source /workspace/codewiki/nvm.sh
|
||||
#set -e
|
||||
|
||||
if [ "true" = "true" ]; then
|
||||
#nvm use --lts
|
||||
npm install
|
||||
rsync -ra --delete node_modules/ /home/gitpod/.publisher/node_modules/
|
||||
rsync -ra --delete node_modules/ /workspace/codewiki/node_modules/
|
||||
else
|
||||
rsync -ra --delete /home/gitpod/.publisher/node_modules/ node_modules/
|
||||
rsync -ra --delete /workspace/codewiki/node_modules/ node_modules/
|
||||
#nvm use --lts
|
||||
npm install
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user