Skip to content

Instantly share code, notes, and snippets.

@jkmathew
Last active October 14, 2016 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkmathew/ba03a4f4568d77c93739716232585faa to your computer and use it in GitHub Desktop.
Save jkmathew/ba03a4f4568d77c93739716232585faa to your computer and use it in GitHub Desktop.
xctool -workspace ProjectName.xcworkspace -scheme ProjectName clean
#for project use
#xctool -workspace ProjectName.xcodeproj -scheme ProjectName clean
xctool -workspace ProjectName.xcodeproj -scheme ProjectName -reporter json-compilation-database:compile_commands.json build
#for project use
#xctool -project ProjectName.xcodeproj -scheme BLEDataTransfer -reporter json-compilation-database:compile_commands.json build
oclint-json-compilation-database -- oclint_args -report-type html -o report.html
git rev-parse --verify HEAD #get lat commit hash
git show --pretty="" --name-only $(git rev-parse --verify HEAD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment