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
eedd1abe
Commit
eedd1abe
authored
2 years ago
by
Eric Bremner
Committed by
Martin Leblanc
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-5775: updating script to do es lint before build
parent
ae0c919b
No related branches found
No related tags found
1 merge request
!33
Feature/istwcms 5775 ebremner fix build scipt
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build_ohana.sh
+13
-8
13 additions, 8 deletions
build_ohana.sh
with
13 additions
and
8 deletions
build_ohana.sh
+
13
−
8
View file @
eedd1abe
...
@@ -76,6 +76,19 @@ npm install
...
@@ -76,6 +76,19 @@ npm install
echo
"**************************************************************************************"
echo
"**************************************************************************************"
echo
"Done running npm install."
echo
"Done running npm install."
echo
"**************************************************************************************"
echo
"Setting up es lint ..."
rm
.eslintignore
ln
-s
../.eslintignore .eslintignore
echo
"**************************************************************************************"
echo
"Done setting up es lint."
echo
"**************************************************************************************"
echo
"Running npm run build ..."
npm run build
echo
"**************************************************************************************"
echo
"Done running npm run build."
echo
"**************************************************************************************"
echo
"**************************************************************************************"
echo
"Setting up pattern-lab ..."
echo
"Setting up pattern-lab ..."
cd
patternlab
cd
patternlab
...
@@ -89,17 +102,9 @@ cd src/styleguide/meta
...
@@ -89,17 +102,9 @@ cd src/styleguide/meta
rm
_foot.twig
rm
_foot.twig
ln
-s
../../../../styleguide/_foot.twig _foot.twig
ln
-s
../../../../styleguide/_foot.twig _foot.twig
cd
../../..
cd
../../..
rm
.eslintignore
ln
-s
../.eslintignore .eslintignore
echo
"**************************************************************************************"
echo
"**************************************************************************************"
echo
"Done setting up pattern-lab."
echo
"Done setting up pattern-lab."
echo
"**************************************************************************************"
echo
"Running npm run build ..."
npm run build
echo
"**************************************************************************************"
echo
"Done running npm run build."
if
[[
$build_option
==
2
||
$build_option
==
4
]]
;
then
if
[[
$build_option
==
2
||
$build_option
==
4
]]
;
then
echo
"**************************************************************************************"
echo
"**************************************************************************************"
echo
"Setting up css/js and removing ohana ..."
echo
"Setting up css/js and removing ohana ..."
...
...
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