Skip to content

Kraziness

Sunday, 7 May 2006  |  awinterz

And now a message from our sponsor...

A special offer for KDE developers! Now you can run the Krazy Code Checker locally on your code!
Here's how:

% svn TOP_OF_YOUR_KDE_SVN_TREE % svn update -N trunk/playground/devtools % cd trunk/playground/devtools % svn up krazy % cd krazy % ./install # installs into /usr/local. edit $TOP to change the destination dir

If all goes well, krazy should be installed, as well as the krazy man page.

Example Krazy runs: % krazy *.cpp *.h % find . -name "*.cpp" -o -name "*.h" | xargs krazy

Note that I'll continue to add checks, so you might want to 'svn update' regularly.

And don't forget to read the krazy man page for more info, including how to write your own checker plugins.