summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-11-07 09:19:21 -0500
committerArul.Nambi <arul.nambi@amdocs.com>2018-11-07 10:19:13 -0500
commite513a1ce93b9a70f01b62ca7560dbe52376cc5bd (patch)
tree823fafd48b54048e3761ed2f9fca65375964db37 /scripts
parentd6fba6d748db7fbfac158ba8ae1a342c89826043 (diff)
Adding option for configurable header
Moving the standalone front end start up from localhost:port/aai -> localhost:port & Updating the node parameter to production for production build so that the minified code is more efficient & Changing the babel loaders for fonts to use the full name instead of the computed hash value & Adding a option to make the page header and html document title configurable instead of the previous hardcoded value of A&AI Issue-ID: AAI-1881 Change-Id: I867200b97d4e2e9acb687f373e39aab8fb8a1b25 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/build.sh24
1 files changed, 3 insertions, 21 deletions
diff --git a/scripts/build/build.sh b/scripts/build/build.sh
index 24ede22..b87d08e 100644
--- a/scripts/build/build.sh
+++ b/scripts/build/build.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -x
###############################################################################
#
@@ -134,27 +134,9 @@ UpdateFEWithCustomViews(){
#
###############################################################################
-extensionList=$@
-
-# npm install
-echo "build.sh --- Running npm install"
-npm install
-
-# npm install extensions
-echo "build.sh --- parameter provided $extensionList"
-if [ -z "$extensionList" ]; then
- echo "build.sh --- No extension provided"
-else
- echo "build.sh --- Running npm --save ${extensionList}"
- npm install --save ${extensionList}
- # copy content when there are extensions
- UpdateFEwithExtensions
- UpdateFEWithCustomViews
-fi
+# Copy some extension content to the core sparky
+UpdateFEwithExtensions
# Copy style
updateStyle
-# npm run build
-echo "build.sh --- Running npm run build"
-npm run build