Skip to content

Commit

Permalink
List all untracked files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Nov 1, 2019
1 parent cd19440 commit ad31293
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,15 @@ function build() {

if grep -q -- "??" $VERSION_DATA; then
echo "Repository had unknown files, failing to build!"
git submodule foreach git ls-files --exclude-standard --others
git status
git diff
exit 1
fi

if grep -q -- "-dirty" $VERSION_DATA; then
echo "Repository was dirty, failing to build!"
git submodule foreach git ls-files --exclude-standard --others
git status
git diff
exit 1
Expand Down

0 comments on commit ad31293

Please sign in to comment.