2016-02-05 06:57:48 -06:00
|
|
|
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
|
2016-02-05 06:57:48 -06:00
|
|
|
```
|
|
|
|
grunt && grunt watch
|
|
|
|
```
|
2014-03-05 06:02:33 -06:00
|
|
|
|
2016-02-05 06:57:48 -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-02-16 02:43:48 -06:00
|
|
|
```
|
|
|
|
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
|
2016-02-05 06:57:48 -06:00
|
|
|
```
|
|
|
|
grunt test
|
|
|
|
godep go test -v ./pkg/...
|
|
|
|
```
|