From 075b704d6cb3a52fe78648304ec73c94c98c5bd0 Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Tue, 4 Jun 2019 08:07:45 +0300 Subject: [PATCH] Log in travis if webui files have changed --- code/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/build.sh b/code/build.sh index a0924a2f..2cff64ae 100755 --- a/code/build.sh +++ b/code/build.sh @@ -112,6 +112,12 @@ build_webui() { echo "--------------------------------------------------------------" echo "Building web interface..." node node_modules/gulp/bin/gulp.js || exit + + # TODO: do something if webui files are different + # for now, just print in travis log + if ${TRAVIS:-false}; then + git --no-pager diff --stat + fi } build_environments() {