mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 18:02:05 +02:00
Commented out gulp tasks making this change uneffective Fixed an error in the build script Change-Id: I4f4f9762aa1a66304aa74b3ab208095b9c1d4515
17 lines
347 B
Bash
Executable File
17 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ONOS_INSTALL_LOCATION=$2
|
|
echo ${ONOS_INSTALL_LOCATION}
|
|
|
|
export NODEJS_HOME=${ONOS_INSTALL_LOCATION}
|
|
export PATH=$NODEJS_HOME/bin:$PATH
|
|
|
|
cd $ONOS_ROOT/tools/gui
|
|
|
|
# Install Project Dependencies
|
|
echo "Installing project dependencies"
|
|
npm install --loglevel=error
|
|
|
|
# Build the GUI Project
|
|
echo "Packaging JavaScript and CSS"
|
|
npm run build |