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
|
|
|
```
|
2016-09-18 05:07:12 -05:00
|
|
|
test -z "$(gofmt -s -l . | grep -v -E 'vendor/(github.com|golang.org|gopkg.in)' | tee /dev/stderr)"
|
2016-02-16 02:43:48 -06:00
|
|
|
```
|
|
|
|
|
2016-02-16 02:45:07 -06:00
|
|
|
### Run tests for frontend assets before commit
|
2016-02-05 06:57:48 -06:00
|
|
|
```
|
2016-09-15 06:09:33 -05:00
|
|
|
npm test
|
|
|
|
go test -v ./pkg/...
|
2016-02-05 06:57:48 -06:00
|
|
|
```
|