Files
grafana/.github/CONTRIBUTING.md
T
Marcus Efraimsson de25a4fe4e docs: update
2018-08-14 12:40:07 +02:00

23 lines
397 B
Markdown

Follow the setup guide in README.md
### Rebuild frontend assets on source change
```
yarn watch
```
### Rerun tests on source change
```
yarn jest
```
### Run tests for backend assets before commit
```
test -z "$(gofmt -s -l . | grep -v -E 'vendor/(github.com|golang.org|gopkg.in)' | tee /dev/stderr)"
```
### Run tests for frontend assets before commit
```
yarn test
go test -v ./pkg/...
```