Update ui building process

This commit is contained in:
Steven Zou 2017-06-22 17:09:53 +08:00
parent fde171bcb3
commit deeb37ac87
2 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,7 @@ before_script:
- sudo chmod 777 /tmp/registry.db
script:
- sudo cp ./src/ui_ng/package.json ./src/ui_ng/src
- sudo mkdir -p /etc/ui/ca/
- sudo mv ./tests/ca.crt /etc/ui/ca/
- sudo mkdir -p /harbor

View File

@ -18,6 +18,7 @@ if [ ! -z "$npm_proxy" -a "$npm_proxy" != " " ]; then
npm config set proxy $npm_proxy
fi
cp ./src/package.json .
npm install
./node_modules/.bin/ngc -p tsconfig-aot.json