forked from incentro-ecx/terraform-provider-commercelayer
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskfile.yml
More file actions
38 lines (30 loc) · 737 Bytes
/
Taskfile.yml
File metadata and controls
38 lines (30 loc) · 737 Bytes
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
36
37
38
version: '3'
tasks:
default:
silent: true
cmd: task --list-all
build:
env:
GORELEASER_CURRENT_TAG: "v0.0.0"
cmd: goreleaser build --snapshot --clean --single-target --output terraform-provider-commercelayer
format:
cmds:
- go fmt ./...
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
testacc:
dotenv: [.env]
cmds:
- go test -v ./...