Skip to content

Instantly share code, notes, and snippets.

View shawndooley's full-sized avatar

Shawn Dooley shawndooley

  • 8F Software LLC
  • Boston MA
View GitHub Profile
@shawndooley
shawndooley / cpplint_pre_commit_hook.sh
Last active November 8, 2018 15:05 — forked from brickgao/cpplint_pre_commit_hook.sh
cpplint pre-commit hook
#!/bin/sh
#
# Modified from http://qiita.com/janus_wel/items/cfc6914d6b7b8bf185b6
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".