Refactor lintapidiff command for long-line

master
David Allsopp 2017-08-12 21:20:42 +01:00
parent 11c3df41ed
commit 8b22c9af5d
1 changed files with 2 additions and 1 deletions

View File

@ -1124,12 +1124,13 @@ endif
# Lint @since and @deprecated annotations
VERSIONS=$(shell git tag|grep '^[0-9]*.[0-9]*.[0-9]*$$'|grep -v '^[12].')
.PHONY: lintapidiff
lintapidiff:
$(MAKE) -C tools lintapidiff.opt
git ls-files -- 'otherlibs/*/*.mli' 'stdlib/*.mli' |\
grep -Ev internal\|obj\|spacetime\|stdLabels\|moreLabels |\
tools/lintapidiff.opt $(shell git tag|grep '^[0-9]*.[0-9]*.[0-9]*$$'|grep -v '^[12].')
tools/lintapidiff.opt $VERSIONS
# Make clean in the test suite