Forked from lqi/oclint-xctool-xcode-aggregate-script.sh
Created
March 31, 2017 10:48
-
-
Save ngn999/f8c3d719230871bc84288817e6a5107c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/.bash_profile | |
cd ${SRCROOT} | |
/path/to/xctool.sh -reporter json-compilation-database:compile_commands.json clean | |
/path/to/xctool.sh -reporter json-compilation-database:compile_commands.json build | |
oclint-json-compilation-database | sed 's/\(.*\.\m\{1,2\}:[0-9]*:[0-9]*:\)/\1 warning:/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment