Fix node path for building the unified console (#6981)

This commit is contained in:
Jihoon Son 2019-02-01 13:57:17 -08:00 committed by Clint Wylie
parent 7a5827e12e
commit 7d4cc28730
1 changed files with 2 additions and 6 deletions

View File

@ -18,19 +18,15 @@
set -e
#pushd web-console
echo "Copying coordinator console in..."
cp -r ./node_modules/druid-console/coordinator-console .
cp -r ./node_modules/druid-console/pages .
cp ./node_modules/druid-console/index.html .
echo "Transpiling ReactTable CSS..."
./node_modules/.bin/stylus lib/react-table.styl -o lib/react-table.css
PATH="./target/node:$PATH" ./node_modules/.bin/stylus lib/react-table.styl -o lib/react-table.css
echo "Webpacking everything..."
./node_modules/.bin/webpack -c webpack.config.js
PATH="./target/node:$PATH" ./node_modules/.bin/webpack -c webpack.config.js
echo "Done! Have a good day."
#popd