зеркало из https://github.com/github/vitess-gh.git
Move all logic from web/vtctld2/build.sh to bootstrap except ng build
This commit is contained in:
Родитель
7b66711482
Коммит
1b9fafe9ef
|
@ -220,6 +220,10 @@ else
|
|||
mv $VTROOT/dist/node-$node_ver-linux-x64 $node_dist
|
||||
rm node_linux64.xz
|
||||
fi
|
||||
$node_dist/bin/npm install -g angular-cli
|
||||
$node_dist/bin/npm install -g bower
|
||||
cd $VTTOP/web/vtctld2 && $node_dist/bin/npm install
|
||||
cd $VTTOP/web/vtctld2 && $node_dist/bin/bower install
|
||||
|
||||
# Download chromedriver
|
||||
echo "Installing selenium and chromedriver"
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
npm install -g angular-cli
|
||||
npm install -g bower
|
||||
npm install
|
||||
bower install
|
||||
ng build -prod
|
||||
|
|
Загрузка…
Ссылка в новой задаче