reformat
This commit is contained in:
12
build.sh
12
build.sh
@@ -1,26 +1,26 @@
|
|||||||
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd /Users/despiegk/codewww/github/threefoldfoundation/www_examplesite
|
cd /Users/sacha/codewww/github/threefoldfoundation/www_examplesite
|
||||||
|
|
||||||
#need to ignore errors for getting nvm not sure why
|
#need to ignore errors for getting nvm not sure why
|
||||||
set +e
|
set +e
|
||||||
source /Users/despiegk/.publisher/nvm.sh
|
source /Users/sacha/.publisher/nvm.sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
nvm use --lts
|
nvm use --lts
|
||||||
|
|
||||||
export PATH=/Users/despiegk/.publisher/versions/node/v15.8.0/bin:$PATH
|
export PATH=/Users/sacha/.publisher/versions/node/v15.8.0/bin:$PATH
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
gridsome build
|
gridsome build
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
mkdir -p /Users/despiegk/.publisher/publish/www_examplesite
|
mkdir -p /Users/sacha/.publisher/publish/www_examplesite
|
||||||
rsync -ra --delete /Users/despiegk/codewww/github/threefoldfoundation/www_examplesite/dist/ /Users/despiegk/.publisher/publish/www_examplesite/
|
rsync -ra --delete /Users/sacha/codewww/github/threefoldfoundation/www_examplesite/dist/ /Users/sacha/.publisher/publish/www_examplesite/
|
||||||
|
|
||||||
cd /Users/despiegk/codewww/github/threefoldfoundation/www_examplesite/dist
|
cd /Users/sacha/codewww/github/threefoldfoundation/www_examplesite/dist
|
||||||
|
|
||||||
#echo go to http://localhost:9999/
|
#echo go to http://localhost:9999/
|
||||||
#python3 -m http.server 9999
|
#python3 -m http.server 9999
|
||||||
|
|||||||
Reference in New Issue
Block a user