Skip to content
Snippets Groups Projects
build_gesso.sh 810 B
Newer Older
ln -s "uw_wcms_gesso/source" "source"
gesso_version="8.x-3.2"
git clone "https://github.com/forumone/gesso" "gesso"
cd gesso
git checkout $gesso_version
rm -rf "source"
ln -s "../source"

echo "Removing Gesso files"
rm gesso.layouts.yml
rm gesso.info.yml
rm gesso.libraries.yml
rm gesso.breakpoints.yml
rm Dockerfile
rm screenshot.png
rm -rf templates
echo "Done removing gesso theme files."
if [ ${build_option} = 3 ] || [ ${build_option} = 4 ]; then
	echo "Running npm install ..."
	npm install
	echo "Done npm install."
	echo "Removing style lint config and replacing with UW config ..."
	rm .stylelintrc.yml
	cp ../.stylelintrc.yml .
	echo "Done removing style lint config and replacing with UW config"
	echo "Running gulp build ..."
	gulp build
	echo "Done running gulp build."
fi