diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 51045d4..2505e1f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -249,5 +249,10 @@ endif $(PLACEHOLDERS): echo olddoc_placeholder > $@ +check-warnings: + @(for i in $$(git ls-files '*.rb' bin | grep -v '^setup\.rb$$'); \ + do $(RUBY) --disable-gems -d -W2 -c \ + $$i; done) | grep -v '^Syntax OK$$' || : + .PHONY: .FORCE-GIT-VERSION-FILE doc $(T) $(slow_tests) man .PHONY: test-install |