Moved .clang-tidy and .clang-format to scripts dir
This commit is contained in:
		@@ -1,6 +1,5 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd "$(dirname "$0")"
 | 
					cd "$(dirname "$0")"
 | 
				
			||||||
cd ..
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
clang-tidy example/example.cpp -- -I ./include
 | 
					clang-tidy ../example/example.cpp -- -I ./include
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,13 +1,12 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd "$(dirname "$0")"
 | 
					cd "$(dirname "$0")"
 | 
				
			||||||
cd ..
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo -n "Running dos2unix     "
 | 
					echo -n "Running dos2unix     "
 | 
				
			||||||
find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
 | 
					find .. -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "dos2unix '{}' 2>/dev/null; echo -n '.'"
 | 
				
			||||||
echo
 | 
					echo
 | 
				
			||||||
echo -n "Running clang-format "
 | 
					echo -n "Running clang-format "
 | 
				
			||||||
find . -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
 | 
					find .. -name "*\.h" -o -name "*\.cpp"|grep -v bundled|xargs -I {} sh -c "clang-format -i {}; echo -n '.'"
 | 
				
			||||||
echo
 | 
					echo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user