-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
43 lines (35 loc) · 814 Bytes
/
Taskfile.yml
File metadata and controls
43 lines (35 loc) · 814 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
39
40
41
42
43
version: '3'
dotenv: ['.env']
tasks:
testacc:
desc: Run acceptance tests
env:
TF_ACC: 1
cmds:
- go test ./... -v {{.CLI_ARGS}} -timeout 120m
test:
desc: Run unit tests only
cmds:
- go test ./... -v {{.CLI_ARGS}} -short
build:
desc: Build the provider
cmds:
- go build {{.CLI_ARGS}} -o terraform-provider-meshstack
install:
desc: Install provider locally for testing
cmds:
- go install {{.CLI_ARGS}}
lint:
desc: Run golangci-lint
cmds:
- golangci-lint run {{.CLI_ARGS}}
generate:
desc: Generate documentation
cmds:
- go generate {{.CLI_ARGS}}
clean:
desc: Clean build artifacts
cmds:
- rm -f terraform-provider-meshstack
- rm -rf .terraform
- rm -f .terraform.lock.hcl