Skip to content
Snippets Groups Projects
Commit a18c648c authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3452: updating build gesso script

parent ef5574d8
No related branches found
No related tags found
No related merge requests found
build_gesso.sh 100644 → 100755
uw_wcms_gesso_root_path=${1:-/var/www/html} uw_wcms_gesso_root_path=${1:-/var/www/html}
git clone "https://github.com/forumone/gesso" "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso" git clone "https://github.com/forumone/gesso" "gesso"
cd "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso" cd gesso
rm -rf "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso/source" rm -rf "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso/source"
ln -s "$uw_wcms_gesso_root_path/uw_wcms_gesso/source" ln -s "$uw_wcms_gesso_root_path/uw_wcms_gesso/source"
# Adding symbolic link to source, as gesso_helper module hard-codes the twig_functions to add
# to "Themepath/SORUCE/..." echo "Removing Gesso files"
rm gesso.layouts.yml
echo "Removing Gesso files" rm gesso.info.yml
rm gesso.layouts.yml rm gesso.libraries.yml
rm gesso.info.yml rm gesso.breakpoints.yml
rm gesso.libraries.yml rm Dockerfile
rm gesso.breakpoints.yml rm screenshot.png
rm Dockerfile rm -rf templates
rm screenshot.png echo "Done removing gess theme files."
rm -rf templates
echo "Done removing gess theme files." echo "Running npm install ..."
npm install
echo "Running npm install..." echo "Done npm install."
npm install
echo "Done." echo "Running gulp build ..."
gulp build
echo "Running gulp build..." echo "Done running gulp build."
gulp build \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment