We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3874cba + d58042a commit 69fc7c5Copy full SHA for 69fc7c5
Taskfile.yml
@@ -0,0 +1,23 @@
1
+# See: https://taskfile.dev/#/usage
2
+version: "3"
3
+
4
+vars:
5
+ DEFAULT_GO_PACKAGES:
6
+ sh: echo $(go list ./... | tr '\n' ' ')
7
8
+tasks:
9
+ check:
10
+ desc: Check for problems with the project
11
+ deps:
12
+ - task: go:test
13
14
+ go:build:
15
+ desc: Build the project
16
+ cmds:
17
+ - go build -v {{.GO_BUILD_FLAGS}}
18
19
+ go:test:
20
+ desc: Run unit tests
21
22
+ - go test -v -short -run '{{default ".*" .GO_TEST_REGEX}}' {{default "-timeout 10m -coverpkg=./... -covermode=atomic" .GO_TEST_FLAGS}} -coverprofile=coverage_unit.txt {{default .DEFAULT_GO_PACKAGES .GO_PACKAGES}}
23
0 commit comments