15 lines
537 B
Go
15 lines
537 B
Go
//go:build tools
|
|
|
|
package tools
|
|
|
|
// Format Terraform code for use in documentation.
|
|
// If you do not have Terraform installed, you can remove the formatting command, but it is suggested
|
|
// to ensure the documentation is formatted properly.
|
|
//go:generate terraform fmt -recursive ../examples/
|
|
|
|
// Generate documentation.
|
|
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-dir .. -provider-name stackitprivatepreview
|
|
|
|
import (
|
|
_ "github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
|
|
)
|