From 6f794b7d11448ef1d4de8cfd0125da9c793abcbf Mon Sep 17 00:00:00 2001 From: Utkarsh Bhatnagar Date: Tue, 16 Feb 2016 00:43:48 -0800 Subject: [PATCH] Adding gofmt test run to contributing.md --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index aaf01cd3280..a7ea4d0177a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,11 @@ grunt && grunt watch grunt karma:dev ``` +### Rerun tests for backend assets before commit +``` +test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)" +``` + ### Run tests before commit ``` grunt test