From 6f794b7d11448ef1d4de8cfd0125da9c793abcbf Mon Sep 17 00:00:00 2001 From: Utkarsh Bhatnagar Date: Tue, 16 Feb 2016 00:43:48 -0800 Subject: [PATCH 1/2] 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 From 86ef33f84f12afc76eee72b829da99eda07b2fd4 Mon Sep 17 00:00:00 2001 From: Utkarsh Bhatnagar Date: Tue, 16 Feb 2016 00:45:07 -0800 Subject: [PATCH 2/2] fixed language --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a7ea4d0177a..e79741bbe6c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,12 +10,12 @@ grunt && grunt watch grunt karma:dev ``` -### Rerun tests for backend assets before commit +### Run tests for backend assets before commit ``` test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)" ``` -### Run tests before commit +### Run tests for frontend assets before commit ``` grunt test godep go test -v ./pkg/...