diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2014-04-12 07:22:18 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2014-04-12 07:22:18 +0000 |
| commit | 8ebe1198178a4afde8a776ffe9dda7b13993a22c (patch) | |
| tree | 2fda5500e1b86eaf3393ee08482c136e26397baf /tools | |
| parent | 369a77acfdd1eaf7d95c44d9a30684a166f058f6 (diff) | |
| download | ocaml-8ebe1198178a4afde8a776ffe9dda7b13993a22c.tar.gz | |
test reference files are now exempt from all rules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14580 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/check-typo | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tools/check-typo b/tools/check-typo index 05c7c68c07..93814131e5 100755 --- a/tools/check-typo +++ b/tools/check-typo @@ -34,6 +34,10 @@ # Built-in exceptions: # - Any binary file (i.e. with svn:mime-type = application/octet-stream) # is automatically exempt from all the rules. +# - Any file whose name matches one of the following patterns is +# automatically exempt from all rules +# *.reference +# */reference # - Any file whose name begins with "Makefile" is automatically exempt # from the "tabs" rule. # - Any file whose name matches one of the following patterns is @@ -45,11 +49,6 @@ # *.mltop # *.odocl # *.clib -# *.reference -# */reference -# - Any file whose name matches one of the following patterns is -# automatically exempt from the "long-line" rule. -# *.reference # ASCII characters are bytes from 0 to 127. Any other byte is # flagged as a non-ASCII character. @@ -138,10 +137,7 @@ IGNORE_DIRS=" case "$f" in */.depend*|*/.ignore) h;; *.mlpack|*.mllib|*.mltop|*.odocl|*.itarget|*.clib) h;; - *.reference|*/reference) h;; - esac - case "$f" in - *.reference) rules="long-line,$rules";; + *.reference|*/reference) continue;; esac (cat "$f"; echo) \ |
