grafana/.github/CONTRIBUTING.md

23 lines
379 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
```
2016-09-15 06:09:33 -05:00
test -z "$(gofmt -s -l . | grep -v vendor/src/ | tee /dev/stderr)"
```
2016-02-16 02:45:07 -06:00
### Run tests for frontend assets before commit
```
2016-09-15 06:09:33 -05:00
npm test
go test -v ./pkg/...
```