File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,9 @@ module.exports = function (grunt) {
187
187
src : [
188
188
'.tmp' ,
189
189
'<%= yeoman.dist %>/{,*/}*' ,
190
- '!<%= yeoman.dist %>/.git*'
190
+ '!<%= yeoman.dist %>/.git*' ,
191
+ '<%= yeoman.dist %>.java/{,*/}*' ,
192
+ '!<%= yeoman.dist %>.java/.git*'
191
193
]
192
194
} ]
193
195
} ,
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- # We don't need grunt to be installed globally for the system, so
5
+ # We don't need grunt to be installed globally for the system, so
6
6
# we can amend our path to look into the local node_modules for the
7
7
# correct binaries.
8
8
repo_root=" $( dirname " ${BASH_SOURCE} " ) /.."
@@ -11,7 +11,9 @@ export PATH="${PATH}:${repo_root}/node_modules/grunt-cli/bin"
11
11
grunt build
12
12
13
13
echo " Verifying that checked in built files under dist match the source..."
14
- if [[ $( git status -s -u dist* ) ]]; then
14
+ STATUS=$( git status -s -u -vv dist* )
15
+ echo $STATUS
16
+ if [[ ${STATUS} ]]; then
15
17
echo " Built dist does not match what is committed, run 'grunt build' and include the results in your commit."
16
18
exit 1
17
19
else
You can’t perform that action at this time.
0 commit comments