mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 11:20:27 -06:00
23 lines
398 B
Markdown
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/...
|
|
```
|