@@ -16,10 +16,6 @@ $(GOLANGCI_LINT):
16
16
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(TOOLS_DIR ) v1.60.1
17
17
pwd ..
18
18
19
- lint : $(GOLANGCI_LINT )
20
- @echo " ==> Checking source code against linters..."
21
- $(GOLANGCI_LINT ) run -v ./...
22
-
23
19
test : # # Execute all unit tests with verbose output."
24
20
@echo " ==> Running unit tests..."
25
21
go test -v ./...
@@ -28,31 +24,11 @@ testacc: ## Run acceptance tests against local aap-dev instance (https://localho
28
24
@echo " ==> Running acceptance tests..."
29
25
TF_ACC=1 AAP_HOST=" http://localhost:9080" go test -count=1 -v ./...
30
26
31
- gofmt : # # Format Go source code in 'internal/provider' using gofmt."
32
- @echo " ==> Format code using gofmt..."
33
- gofmt -s -w internal/provider
34
-
35
27
generatedocs : # # Format example Terraform configurations and generate plugin documentation."
36
28
@echo " ==> Formatting examples and generating docs..."
37
29
terraform fmt -recursive ./examples/
38
30
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate
39
31
40
- # help:
41
- # @echo "Usage: make <target>"
42
- # @echo ""
43
- # @echo "Targets:"
44
-
45
- # @echo " test Execute all unit tests with verbose output."
46
- # @echo " testacc Run acceptance tests against local AAP instance (https://localhost:8043)."
47
- # @echo " Requires environment variables: AAP_USERNAME and AAP_PASSWORD."
48
- # @echo " testacc-aapdev Run acceptance tests against dev AAP instance (http://localhost:9080)."
49
- # @echo " Requires environment variables: AAP_USERNAME and AAP_PASSWORD."
50
- # @echo " gofmt Format Go source code in 'internal/provider' using gofmt."
51
- # @echo " generatedocs Format example Terraform configurations and generate plugin documentation."
52
- # @echo ""
53
- # @echo "Default target is 'build'."
54
- # @echo ""
55
-
56
32
.PHONY : help
57
33
help : # # Show this help message
58
34
@grep -hE ' ^[a-zA-Z0-9._-]+:.*?##' $(MAKEFILE_LIST ) | \
0 commit comments