generated from labd/terraform-provider-scaffolding-framework
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
35 lines (28 loc) · 905 Bytes
/
Taskfile.yml
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
27
28
29
30
31
32
33
34
35
version: '3'
tasks:
dependencies:
cmds:
- go install github.com/bufbuild/buf/cmd/buf@v1.32.2
- go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2
- go install connectrpc.com/connect/cmd/protoc-gen-connect-go@v1.16.2
format:
cmds:
- go fmt ./...
- terraform fmt -recursive ./examples
test:
cmds:
- go test -v ./...
docs:
cmds:
- go generate
coverage-html:
cmds:
- go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./...
- go tool cover -html=coverage.txt
coverage:
cmds:
- go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./...
- go tool cover -func=coverage.txt
generate/sdk:
cmds:
- buf generate --path proto/wg/cosmo/common --path proto/wg/cosmo/platform --path proto/wg/cosmo/notifications --path proto/wg/cosmo/node