From deeb37ac87ab5ee8903ba82f7eb6a6ffef227f45 Mon Sep 17 00:00:00 2001 From: Steven Zou Date: Thu, 22 Jun 2017 17:09:53 +0800 Subject: [PATCH] Update ui building process --- .travis.yml | 1 + make/dev/nodeclarity/entrypoint.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4a3816b8b..b842e0ba6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/make/dev/nodeclarity/entrypoint.sh b/make/dev/nodeclarity/entrypoint.sh index 5b2a23240..3ab9c80ad 100644 --- a/make/dev/nodeclarity/entrypoint.sh +++ b/make/dev/nodeclarity/entrypoint.sh @@ -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