File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ RED=' \033[0;31m'
6
+ NOCOLOR=' \033[0m'
7
+ GREEN=' \033[0;32m'
8
+
5
9
# We don't need grunt to be installed globally for the system, so
6
10
# we can amend our path to look into the local node_modules for the
7
11
# correct binaries.
@@ -12,9 +16,9 @@ grunt build
12
16
13
17
echo " Verifying that checked in built files under dist match the source..."
14
18
if [[ $( git status -s -u dist* ) ]]; then
19
+ echo -e " ${RED} Built /dist does not match what is committed, run 'grunt build' and include the results in your commit.${NOCOLOR} "
15
20
git diff --exit-code dist*
16
- echo " Built dist does not match what is committed, run 'grunt build' and include the results in your commit."
17
21
exit 1
18
22
else
19
- echo " Verified."
23
+ echo -e " ${GREEN} Verified. Rebuilt /dist matches what has been committed. ${NOCOLOR} "
20
24
fi
You can’t perform that action at this time.
0 commit comments