diff --git a/build_gesso.sh b/build_gesso.sh index 4b6ed7f0f968818128a9b8d85692f158a65f9a2f..5c04d5b155931b6cf6d1da515e77416bb8d66a5b 100755 --- a/build_gesso.sh +++ b/build_gesso.sh @@ -4,7 +4,17 @@ git clone "https://github.com/forumone/gesso" "gesso" cd gesso git checkout $gesso_version cd .. -ln -s "source" "gesso/source" + +if [ -f "gulpfile.js" ]; then + mv gulpfile.js gesso +fi + +if [ -f "packages.json" ]; then + mv packages.json gesso +fi + +ln -s "gesso/source" "source" + echo "Removing Gesso files" rm gesso.layouts.yml rm gesso.info.yml @@ -16,6 +26,7 @@ rm -rf templates echo "Done removing gesso theme files." echo "Running npm install ..." +cd gesso npm install echo "Done npm install."