mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 13:53:00 +00:00 
			
		
		
		
	Added bash script to run linters to tools
Ran prettier on .clang-format
This commit is contained in:
		| @@ -164,5 +164,5 @@ StatementMacros: | ||||
| TabWidth: 8 | ||||
| UseCRLF: false | ||||
| UseTab: Never | ||||
| ... | ||||
| --- | ||||
|  | ||||
|   | ||||
							
								
								
									
										10
									
								
								tools/lint.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								tools/lint.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| repo="$(git rev-parse --show-toplevel)" | ||||
|  | ||||
| pushd "$repo" | ||||
| prettier --write . | ||||
| for i in  http_server.c http_server.h json_encode.h mpd_client.c mpd_client.h ympd.c; do | ||||
| 	clang-format -i -style=file "src/$i" | ||||
| done | ||||
| popd | ||||
		Reference in New Issue
	
	Block a user
	 SuperBFG7
					SuperBFG7