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

ISTWCMS-5509: updating settings for drupal theming

parent 1080b68a
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,18 @@ nvm install $version ...@@ -44,6 +44,18 @@ nvm install $version
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Done installing correct npm version." echo "Done installing correct npm version."
echo "**************************************************************************************"
echo "Setting up theming ..."
if [[ $build_option == 1 ]]; then
ln -s "$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/dist
rm -rf src/patterns
ln -s ../../src/patterns src/patterns
else
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/
fi
echo "**************************************************************************************"
echo "Done setting up theming."
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Running npm install ..." echo "Running npm install ..."
if [[ $os_option == 1 ]]; then if [[ $os_option == 1 ]]; then
...@@ -53,13 +65,6 @@ npm install ...@@ -53,13 +65,6 @@ npm install
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Done running npm install." echo "Done running npm install."
echo "**************************************************************************************"
echo "Setting up src sym link ..."
rm -rf src/patterns
ln -s ../../src/patterns src/patterns
echo "**************************************************************************************"
echo "Done setting up src sym link."
echo "**************************************************************************************" echo "**************************************************************************************"
echo "Running npm run build ..." echo "Running npm run build ..."
npm run build npm run build
......
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