Created
January 19, 2015 22:04
-
-
Save jamiees2/a80112b20ff6b7b6150e to your computer and use it in GitHub Desktop.
client side hjalti shit
This file contains hidden or 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
#!/bin/bash | |
DIR="$(cd "$(dirname "$0")" && pwd)" | |
echo "Running N'SIQ on" $1 | |
echo "===========================================" | |
$DIR/nsiqcppstyle/nsiqcppstyle -f $DIR/profiles/nsiq-profile.txt $1 | |
echo "" | |
echo "===========================================" | |
echo "N'SIQ finished" | |
echo "Now running vera++ on" $1 | |
echo "===========================================" | |
# vera++ -profile vera++-profile.txt -showrules $1 | |
for file in $1/*.h; do | |
echo "Running vera++ on" $file | |
vera++ -profile vera++-profile.txt -showrules $file | |
done | |
for file in $1/*.cpp; do | |
echo "Running vera++ on " $file | |
vera++ -profile vera++-profile.txt -showrules $file | |
done | |
echo "" | |
echo "===========================================" | |
echo "vera++ finished" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment