grafana/CONTRIBUTING.md
Utkarsh Bhatnagar 86ef33f84f fixed language
2016-02-16 00:45:07 -08:00

23 lines
398 B
Markdown

Follow the setup guide in README.md
### Rebuild frontend assets on source change
```
grunt && grunt watch
```
### Rerun tests on source change
```
grunt karma:dev
```
### 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/...
```