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

ISTWCMS-5509: updating build ohana script to remove all css but the min on non theme developement

parent 8ecc7632
No related branches found
No related tags found
No related merge requests found
......@@ -76,9 +76,9 @@ if [[ $build_option != 1 && $build_option != 3 ]]; then
echo "Setting up css/js and removing ohana ..."
mv "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ohana/dist "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/
cd "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ohana/dist/css
ls | grep -v all.min.css | parallel rm
rm !("all.min.css")
cd "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/ohana/dist/js
ls | grep -v all.min.js | parallel rm
rm !("all.min.js")
cd "$DRUPAL_PATH"/web/profiles/uw_base_profile/modules/custom/uw_wcms_ohana/
rm -rf ohana
echo "**************************************************************************************"
......
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