diff options
| author | Matthäus G. Chajdas <Anteru@users.noreply.github.com> | 2020-09-20 10:24:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-20 10:24:09 +0200 |
| commit | 8aa2bc3d6c1bc65fbc6da9af8a588fcea3552e98 (patch) | |
| tree | 7e51ff18fe940afc914aaa4326f4a9bb8fbdf5e6 /Makefile | |
| parent | 45b3dc6891c6ece14e0ea5e017624fef36c6beea (diff) | |
| download | pygments-git-8aa2bc3d6c1bc65fbc6da9af8a588fcea3552e98.tar.gz | |
Add a check for CR/LF in files. (#1547)
* Add a check for CR/LF in files.
This can occur when checking out things on Windows, and it breaks the
tarball. This adds a script to check for the presence of CR/LF which
exits early if anything gets found.
* Improve error checking.
* Include the external folder and check that.
* Include .bashcomp files.
* Use the correct CR/LF on the checker itself.
* Address review feedback.
* Remove || true
* Fix docs
* Print the first offending file name
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ export PYTHONPATH = $(shell echo "$$PYTHONPATH"):$(shell python -c 'import os; p all: clean-pyc check test check: + @$(PYTHON) scripts/check_crlf.py pygments build external @$(PYTHON) scripts/detect_missing_analyse_text.py || true @pyflakes pygments | grep -v 'but unused' || true @$(PYTHON) scripts/check_sources.py -i build -i dist -i pygments/lexers/_mapping.py \ |
