Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_ohana
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_ohana
Commits
6cca9dca
Commit
6cca9dca
authored
2 years ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5509: updating settings for drupal theming
parent
1080b68a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build_ohana.sh
+12
-7
12 additions, 7 deletions
build_ohana.sh
with
12 additions
and
7 deletions
build_ohana.sh
+
12
−
7
View file @
6cca9dca
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment