Skip to content

Instantly share code, notes, and snippets.

View alvarocavalcanti's full-sized avatar

Alvaro Cavalcanti alvarocavalcanti

View GitHub Profile
@alvarocavalcanti
alvarocavalcanti / Uncle Bob Scribe's Oath
Created December 12, 2017 15:08
Uncle Bob Scribe's Oath
Uncle Bob's Scribe's Oath
1. I will not produce harmful code
2. I will not produce code that's not my best
3. I will provide with each release a quick testable repeatable proof that code works
4. I will not avoid release that will impede progress(short term rapid releases)
5. I will fearlessly and relentlessly improve the quality of code. I will
never make the code worse
6. I will keep productivity high I will not do anything that decreases
productivity
7. I will continuously ensure others can cover for me and I can cover for them
@alvarocavalcanti
alvarocavalcanti / pre-commit.sh
Created August 4, 2017 21:21 — forked from chadmaughan/pre-commit.sh
A git pre commit hook that runs the test task with the gradle wrapper
#!/bin/sh
# this hook is in SCM so that it can be shared
# to install it, create a symbolic link in the projects .git/hooks folder
#
# i.e. - from the .git/hooks directory, run
# $ ln -s ../../git-hooks/pre-commit.sh pre-commit
#
# to skip the tests, run with the --no-verify argument
# i.e. - $ 'git commit --no-verify'