mirror of
https://github.com/status-im/consul.git
synced 2025-01-27 14:05:45 +00:00
401221de58
* hclog Allow users to choose between unstructured and JSON logging
27 lines
431 B
YAML
27 lines
431 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
|
|
- dep prune
|
|
|
|
lint:
|
|
desc: Runs golint
|
|
cmds:
|
|
- golint $(ls *.go | grep -v "doc.go")
|
|
silent: true
|
|
|
|
test:
|
|
desc: Runs go tests
|
|
cmds:
|
|
- go test -race .
|