mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-30 15:54:27 -04:00 
			
		
		
		
	Print diff to know the format problems
This commit is contained in:
		| @ -24,6 +24,7 @@ jobs: | ||||
|   - script: | | ||||
|       cd $(Build.SourcesDirectory) | ||||
|       find . \( -name '*.h' -or -name '*.cpp' -or -name '*.c' -or -name '*.mm' -or -name '*.m' \) -print0 | xargs -0 clang-format -style=file -i | ||||
|       git diff $(Build.SourceVersion) | ||||
|       if [ "$(git diff $(Build.SourceVersion))" != "" ]; then exit 1; fi | ||||
|     displayName: 'clang-format' | ||||
| - job: Linux | ||||
|  | ||||
		Reference in New Issue
	
	Block a user