mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
a1b3e3a772
There was a bug on status-react where it would save filters that were not listened to. This commit adds a task to clean up those filters as they might result in long syncing times. This commit also returns topics/ranges/mailserves from messenger in order to make the initialization of the app simpler and start moving logic to status-go. It also removes whisper from vendor.
33 lines
623 B
YAML
33 lines
623 B
YAML
default:
|
|
deps: [test]
|
|
|
|
dl-deps:
|
|
desc: Downloads cli dependencies
|
|
cmds:
|
|
- go get -u github.com/golang/lint/golint
|
|
- go get -u github.com/golang/dep/cmd/dep
|
|
|
|
update-deps:
|
|
desc: Updates dependencies
|
|
cmds:
|
|
- dep ensure
|
|
- dep ensure -update
|
|
|
|
lint:
|
|
desc: Runs golint
|
|
cmds:
|
|
- go fmt $(go list ./... | grep -v /vendor/)
|
|
- go vet $(go list ./... | grep -v /vendor/)
|
|
- golint $(ls *.go | grep -v "doc.go")
|
|
silent: true
|
|
|
|
test:
|
|
desc: Runs go tests
|
|
cmds:
|
|
- go test -race .
|
|
|
|
test-coverage:
|
|
desc: Runs go tests and calucates test coverage
|
|
cmds:
|
|
- go test -coverprofile=c.out .
|