You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by cw...@apache.org on 2019/02/01 21:57:22 UTC

[incubator-druid] branch master updated: Fix node path for building the unified console (#6981)

This is an automated email from the ASF dual-hosted git repository.

cwylie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 7d4cc28  Fix node path for building the unified console (#6981)
7d4cc28 is described below

commit 7d4cc287306e9aa576e29b722a0d74f6a86fdab8
Author: Jihoon Son <ji...@apache.org>
AuthorDate: Fri Feb 1 13:57:17 2019 -0800

    Fix node path for building the unified console (#6981)
---
 web-console/script/build | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/web-console/script/build b/web-console/script/build
index 52e35f5..147f0e6 100755
--- a/web-console/script/build
+++ b/web-console/script/build
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org