浏览代码

Adding gofmt test run to contributing.md

Utkarsh Bhatnagar 9 年之前
父节点
当前提交
6f794b7d11
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      CONTRIBUTING.md

+ 5 - 0
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