mirror of https://github.com/rancher/ui.git
20 lines
324 B
Bash
Executable File
20 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# cd to app root
|
|
CWD=$(dirname $0)
|
|
if [[ `basename $(pwd)` = 'scripts' ]]; then
|
|
cd ../
|
|
else
|
|
cd `dirname $CWD`
|
|
fi
|
|
|
|
|
|
# Requires Access to the Source tree. Can not be used when building docker image. 302 wmaxwell
|
|
npm install
|
|
bower --allow-root install
|
|
git submodule init
|
|
git submodule update
|
|
|
|
npm build
|