mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Cleanup travis file (reference check already done in Makefile)
This commit is contained in:
parent
4a4edb5807
commit
180cd89a1f
11
.travis.yml
11
.travis.yml
|
@ -21,16 +21,5 @@ script:
|
||||||
- cd scripts; make -k
|
- cd scripts; make -k
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
## find lines with tabs
|
|
||||||
# - rm -f CppCoreGuidelines.md.tabs
|
|
||||||
# - cat CppCoreGuidelines.md | nl -ba | sed -s 's/\(^[^\t]*\)\t/\1--/g' | grep $'\t' | sed -s 's/\t/\*\*\*\*/g' > CppCoreGuidelines.md.tabs
|
|
||||||
# - if [[ -s CppCoreGuidelines.md.tabs ]]; then echo 'Tabs found'; cat CppCoreGuidelines.md.tabs; false; fi;
|
|
||||||
|
|
||||||
## check references unique
|
|
||||||
- rm -f CppCoreGuidelines.md.uniq
|
|
||||||
- grep -oP '(?<=<a name=")[^\"]+' CppCoreGuidelines.md | uniq -d > CppCoreGuidelines.md.uniq
|
|
||||||
- if [[ -s CppCoreGuidelines.md.uniq ]]; then echo 'Found duplicate anchors:'; cat CppCoreGuidelines.md.uniq; false; fi;
|
|
||||||
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user