summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/objx/Taskfile.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/stretchr/objx/Taskfile.yml')
-rw-r--r--vendor/github.com/stretchr/objx/Taskfile.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/github.com/stretchr/objx/Taskfile.yml b/vendor/github.com/stretchr/objx/Taskfile.yml
new file mode 100644
index 000000000..f8035641f
--- /dev/null
+++ b/vendor/github.com/stretchr/objx/Taskfile.yml
@@ -0,0 +1,32 @@
+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 .