Skip to content

Instantly share code, notes, and snippets.

@jamiees2
Created January 19, 2015 22:04
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 jamiees2/a80112b20ff6b7b6150e to your computer and use it in GitHub Desktop.
Save jamiees2/a80112b20ff6b7b6150e to your computer and use it in GitHub Desktop.
client side hjalti shit
#!/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