summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/stretchr/objx/Taskfile.yml
blob: 403b5f06ee458e1379f4d7ec99529fb5e4d40107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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  .