Skip to content

Instantly share code, notes, and snippets.

View nclavaud's full-sized avatar
🍉

Nicolas Clavaud nclavaud

🍉
View GitHub Profile
@JJK801
JJK801 / pre-commit.sh
Last active July 20, 2016 13:39
Git Pre-Commit hook for coding standards validation
#!/bin/bash
binary="coke"
file=".coke"
files=""
stash=0
function success
{
echo "[$(tput bold)$(tput setaf 2)SUCCESS$(tput sgr0)] $(tput setaf 6)$1$(tput sgr0)"