Skip to content

Commit 89804ab

Browse files
committed
Update .goreleaser.yml to use array format for archive types, add Terraform formatting command to documentation, remove outdated provider code generation instructions, and delete unused tools module and files.
1 parent 85de61f commit 89804ab

File tree

7 files changed

+4
-787
lines changed

7 files changed

+4
-787
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ builds:
2727
goarch: '386'
2828
binary: '{{ .ProjectName }}_v{{ .Version }}'
2929
archives:
30-
- format: zip
30+
- formats: [ zip ]
3131
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3232
checksum:
3333
extra_files:

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ To compile the provider, run `go install`. This will build the provider and put
5555

5656
To generate or update documentation, run `make generate`.
5757

58-
To regenerate the provider code from the split specification files, run:
59-
```shell
60-
go generate ./internal
61-
```
62-
63-
This will merge the specification files in `specs/` and generate the Go code.
64-
6558
In order to run the full suite of Acceptance tests, run `make testacc`.
6659

6760
*Note:* Acceptance tests create real resources, and often cost money to run.

doc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
package main
22

33
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate --provider-name unstructured
4+
5+
// Format Terraform code for use in documentation.
6+
//go:generate terraform fmt -recursive ./examples/

tools/go.mod

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)