Skip to content

Commit b1e268f

Browse files
chore: Make the repository compatible with git-worktree (#4242)
- Add a new configuration for cursor worktrees. - Add a new flag for provider name in the docs generator. By default, the directory name is used, but this is changed in git workspaces, making the generator fail.
1 parent b01f4f9 commit b1e268f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.cursor/worktrees.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"setup-worktree": [
3+
"make dev-setup"
4+
]
5+
}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dev-cleanup: ## cleanup development dependencies
2323
rm -rf tools/bin/*
2424

2525
docs: generate-docs-additional-files ## generate docs
26-
tools/bin/tfplugindocs generate
26+
tools/bin/tfplugindocs generate --provider-name=terraform-provider-snowflake
2727

2828
docs-check: docs ## check that docs have been generated
2929
git diff --exit-code -- docs

0 commit comments

Comments
 (0)