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
Post a Comment