File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 11version : ' 3'
22
3+ vars :
4+ VERBOSE : ' {{default "false" .VERBOSE}}'
5+
36tasks :
47 default :
58 silent : true
@@ -9,40 +12,48 @@ tasks:
912
1013 check :
1114 desc : Run all checks (used in CI)
15+ silent : ' {{ne .VERBOSE "true"}}'
1216 cmds :
1317 - task : lint
1418 - task : test
1519 - task : build
1620
1721 clean :
22+ silent : ' {{ne .VERBOSE "true"}}'
1823 cmds :
1924 - rm -f glean
2025 - go clean
2126 - rm -rf dist/
2227
2328 build :
29+ silent : ' {{ne .VERBOSE "true"}}'
2430 cmds :
2531 - go build -o glean
2632
2733 test :
34+ silent : ' {{ne .VERBOSE "true"}}'
2835 cmds :
2936 - go test ./... -v
3037
3138 lint :
39+ silent : ' {{ne .VERBOSE "true"}}'
3240 cmds :
3341 - golangci-lint run
3442
3543 lint:fix :
44+ silent : ' {{ne .VERBOSE "true"}}'
3645 cmds :
3746 - golangci-lint run --fix
3847
3948 install :
4049 desc : Install the CLI locally
50+ silent : ' {{ne .VERBOSE "true"}}'
4151 cmds :
4252 - go install
4353
4454 release :
4555 desc : Create and push a new release
56+ silent : ' {{ne .VERBOSE "true"}}'
4657 vars :
4758 VERSION : ' {{.VERSION | default ""}}'
4859 FORCE : ' {{.FORCE | default "false"}}'
You can’t perform that action at this time.
0 commit comments