Add helper scripts and wlroots integration
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
		
							
								
								
									
										7
									
								
								tools/clang-format.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								tools/clang-format.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| #!/usr/bin/env bash | ||||
| set -euo pipefail | ||||
|  | ||||
| cd $(dirname $0)/.. || exit 1 | ||||
| find src '(' -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.hpp' ')' -print0 | xargs -0 clang-format -i | ||||
|  | ||||
| echo 'Formatted source files in src/' | ||||
		Reference in New Issue
	
	Block a user