diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-05-15 12:40:06 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-05-15 12:40:06 +0300 |
commit | f1ed14eb33c86611a9d9355caf6439a087d71d03 (patch) | |
tree | f103f0d5888f98c404981c12421cf3fc6f8d5d83 /.beautify-ignore | |
parent | d7599134b8c2f1ecd57d3a39ea7f9a6711d2958c (diff) |
Move ignored path prefixes into config file.
The path prefixes listed in .beautify-ignore, in the project root, will not
be cleaned up. C and C++ files everywhere else will be.
Also fixes bugs in the prefix-matching code, and makes the matching a little
bit more powerful: the prefix can now extend down into the directory tree.
Diffstat (limited to '.beautify-ignore')
-rw-r--r-- | .beautify-ignore | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.beautify-ignore b/.beautify-ignore new file mode 100644 index 000000000..a21511af2 --- /dev/null +++ b/.beautify-ignore @@ -0,0 +1,28 @@ +# Files and directories that beautify.py should not clean up. +# +# This file is not as advanced as, say, .gitignore. It only supports files +# and directory paths relative to the project root, one per line, no globs, +# no quotes. +# +# Leading and trailing whitespace is stripped from filenames, but internal +# whitespace is preserved. +# +# Lines starting with a hash mark, such as this one, are comments. The hash +# mark must be the first character on the line. Blank lines are ignored. +# +# The .beautify-ignore file must be encoded in UTF-8. + +boost +contrib +irstlm +jam-files +lm +moses/TranslationModel/UG +phrase-extract/pcfg-common +phrase-extract/syntax-common +randlm +search +srilm +util +xmlrpc-c +.git |