You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find .githooks -type f -exec ln -sf ../../{} .git/hooks/ \;
130
126
131
127
.PHONY: update-atlas-sdk
132
-
update-atlas-sdk: ## Update the atlas-sdk dependency
128
+
update-atlas-sdk: ## Update the Atlas SDK dependency
133
129
./scripts/update-sdk.sh
134
130
135
131
# e.g. run: make scaffold resource_name=streamInstance type=resource
136
132
# - type argument can have the values: `resource`, `data-source`, `plural-data-source`.
137
133
# details on usage can be found in contributing/development-best-practices.md under "Scaffolding initial Code and File Structure"
138
134
.PHONY: scaffold
139
-
scaffold:
135
+
scaffold:## Create scaffolding for a new resource
140
136
@go run ./tools/scaffold/*.go $(resource_name)$(type)
141
137
@echo "Reminder: configure the new $(type) in provider.go"
142
138
143
139
# e.g. run: make scaffold-schemas resource_name=streamInstance
144
140
# details on usage can be found in contributing/development-best-practices.md under "Generating Schema and Model Definitions - Using schema generation HashiCorp tooling"
145
141
.PHONY: scaffold-schemas
146
-
scaffold-schemas:
142
+
scaffold-schemas:## Create the schema scaffolding for a new resource
147
143
@scripts/schema-scaffold.sh $(resource_name)
148
144
149
145
# e.g. run: make generate-schema resource_name=search_deployment
150
146
# resource_name is optional, if not provided all configured resources will be generated
151
147
# details on usage can be found in contributing/development-best-practices.md under "Generating Schema and Model Definitions - Using internal tool"
152
148
.PHONY: generate-schema
153
-
generate-schema:
149
+
generate-schema: ## Generate the schema for a resource
154
150
@go run ./tools/codegen/main.go $(resource_name)
155
151
156
152
.PHONY: generate-doc
157
153
# e.g. run: make generate-doc resource_name=search_deployment
158
154
# generate the resource documentation via tfplugindocs
159
-
generate-doc:
155
+
generate-doc: ## Auto-generate the documentation for a resource
160
156
@scripts/generate-doc.sh ${resource_name}
161
157
162
158
# generate the resource documentation via tfplugindocs for all resources that have templates
163
159
.PHONY: generate-docs-all
164
-
generate-docs-all:
160
+
generate-docs-all: ## Auto-generate the documentation for all resources
0 commit comments