From e513a1ce93b9a70f01b62ca7560dbe52376cc5bd Mon Sep 17 00:00:00 2001 From: "Arul.Nambi" Date: Wed, 7 Nov 2018 09:19:21 -0500 Subject: 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 --- scripts/build/build.sh | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'scripts/build') 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 -- cgit