I had written about a new git hook I added to gnome-chess in my previous blog post. I’m pleased to announce that the style-checker is now a part of libgames-support which is a library used internally by all GNOME games .
All the GNOME games can now utilize the benefits of this style-checker by updating their autogen.sh as shown below:
if [ ! -L $srcdir/.git/hooks/pre-commit ]; then ln -s ../../../libgames-support/style-checker $srcdir/.git/hooks/pre-commit fi
“It is not enough for code to work.”
― Robert C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship