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

ISTWCMS-3592: updating build gesso script to use build option

parent 0cf0797e
No related branches found
No related tags found
No related merge requests found
uw_wcms_gesso_root_path=${1:-/var/www/html} build_option=${1:-1}
gesso_version="8.x-3.2" gesso_version="8.x-3.2"
git clone "https://github.com/forumone/gesso" "gesso" git clone "https://github.com/forumone/gesso" "gesso"
cd gesso cd gesso
...@@ -16,15 +16,17 @@ rm screenshot.png ...@@ -16,15 +16,17 @@ rm screenshot.png
rm -rf templates rm -rf templates
echo "Done removing gess theme files." echo "Done removing gess theme files."
echo "Running npm install ..." if [ ${build_option} = 3 ] || [ ${build_option} = 4 ]; then
npm install echo "Running npm install ..."
echo "Done npm install." npm install
echo "Done npm install."
echo "Removing style lint config and replacing with UW config ..." echo "Removing style lint config and replacing with UW config ..."
rm .stylelintrc.yml rm .stylelintrc.yml
cp ../.stylelintrc.yml . cp ../.stylelintrc.yml .
echo "Done removing style lint config and replacing with UW config" echo "Done removing style lint config and replacing with UW config"
echo "Running gulp build ..." echo "Running gulp build ..."
gulp build gulp build
echo "Done running gulp build." echo "Done running gulp build."
fi
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