grafana/CONTRIBUTING.md

23 lines
398 B
Markdown
Raw Normal View History

Follow the setup guide in README.md
2014-03-05 06:02:33 -06:00
2016-02-16 02:19:11 -06:00
### Rebuild frontend assets on source change
```
grunt && grunt watch
```
2014-03-05 06:02:33 -06:00
### Rerun tests on source change
```
grunt karma:dev
```
2016-02-16 02:45:07 -06:00
### Run tests for backend assets before commit
```
test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)"
```
2016-02-16 02:45:07 -06:00
### Run tests for frontend assets before commit
```
grunt test
godep go test -v ./pkg/...
```