grafana/.github/CONTRIBUTING.md
2016-09-18 10:07:12 +00:00

412 B

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 -E 'vendor/(github.com|golang.org|gopkg.in)' | tee /dev/stderr)"

Run tests for frontend assets before commit

npm test
go test -v ./pkg/...