Skip to content

Commit e157e88

Browse files
committed
💚 check for changes found by moban
Re-instates check dropped in b8b61f8. Use --ignore-blank-lines because sphinx templates have trailing lines that are not wanted here, and 92b799a and others removed the custom handling of these, and moban doesnt yet have post-processors to handle this. git diff --ignore-blank-lines --exit-code still emits an exit code even if there was no applicable changes, even with git v2.22.0 on Travis' bionic image. Workaround with a shell loop.
1 parent 78b672f commit e157e88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ all: upstreaming
22

33
upstreaming:
44
moban -m mobanfile
5+
git diff
6+
git diff --ignore-blank-lines | while read line; do if [ "$line" ]; then exit 1; fi; done
57

68
lint: flake8 . --exclude=.moban.d,docs --builtins=unicode,xrange,long
79

0 commit comments

Comments
 (0)