Commit a7aa6498 authored by Liam Morland's avatar Liam Morland Committed by Eric Bremner
Browse files Improve status messages

parent aab893ee
......@@ -2,14 +2,14 @@ drupal_core_path=${1:-/var/www/drupal8}
echo "Rebuilding pattern lab..."
echo "Rebuilding Pattern Lab..."
if [ -d "$pattern_lab_root_path/uw_wcms_pattern_lab" ]; then
echo "Removing old pattern lab ..."
echo "Removing old Pattern Lab ..."
rm -rf "$pattern_lab_root_path/uw_wcms_pattern_lab"
echo "Done."
echo "Done removing old Pattern Lab."
echo "Starting new pattern lab ..."
echo "Starting new Pattern Lab ..."
git clone "" $pattern_lab_root_path/uw_wcms_pattern_lab
cd "$pattern_lab_root_path/uw_wcms_pattern_lab"
......@@ -23,10 +23,10 @@ echo "$drupal_directory" >> "$pattern_lab_root_path/uw_wcms_pattern_lab/uw_wcms_
chmod 775 "$pattern_lab_root_path/uw_wcms_pattern_lab/"
echo "Done."
echo "Done twig functions fix."
yarn install
echo "Done."
echo "Done yarn install."
cd components/js
if [ -f "ready.min.js" ]; then
......@@ -44,7 +44,6 @@ fi
ln -s "$drupal_core_path/core/assets/vendor/domready/ready.min.js"
ln -s "$drupal_core_path/core/misc/drupal.js"
ln -s "$drupal_core_path/core/assets/vendor/jquery/jquery.min.js"
echo "Done."
echo "Done theme install."
......@@ -52,3 +51,5 @@ echo "Starting watch so distr directory gets created"
cd "$pattern_lab_root_path/uw_wcms_pattern_lab"
gulp compile
gulp build
echo "Done rebuilding Pattern Lab."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment