mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #4046 from utkarshcmu/patch-1
Updated contributing.md with gofmt check
This commit is contained in:
commit
84e50f9003
@ -10,7 +10,12 @@ grunt && grunt watch
|
||||
grunt karma:dev
|
||||
```
|
||||
|
||||
### Run tests before commit
|
||||
### Run tests for backend assets before commit
|
||||
```
|
||||
test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)"
|
||||
```
|
||||
|
||||
### Run tests for frontend assets before commit
|
||||
```
|
||||
grunt test
|
||||
godep go test -v ./pkg/...
|
||||
|
Loading…
Reference in New Issue
Block a user