contributing.md

This commit is contained in:
David Kaltschmidt
2018-10-04 15:20:55 +02:00
parent 2b1e4d001a
commit c1786ae753
2 changed files with 56 additions and 22 deletions

View File

@@ -1,22 +0,0 @@
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/...
```