ios - Static Analyzer - Running Clang on only commited changed files -


i wonder if there way run clang on files have been changed in git commit. working on ios project, myproject. can run clang with,

scan-build -o output_folder -xcodebuild -project myproject analyze 

but runs analysis full project takes more time. want run clang static analysis prior each git commit restrict developers submit code warnings. so, need run on files have been changed in commit. lets assume have repo , commit hash, how can so?


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -