-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Smooth out some rough edges in the dev flow.
- Loading branch information
Showing
8 changed files
with
136 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ BINARY_NAME=terraform-provider-corefunc | |
#------------------------------------------------------------------------------- | ||
# Global stuff. | ||
|
||
HOMEBREW_PACKAGES=bash bats-core coreutils editorconfig-checker findutils git git-cliff git-lfs go grep jq librsvg nodejs pre-commit [email protected] shellcheck tfschema trivy trufflesecurity/trufflehog/trufflehog | ||
HOMEBREW_PACKAGES=bash bats-core coreutils editorconfig-checker findutils git git-cliff git-lfs go grep jq librsvg nodejs poetry pre-commit [email protected] shellcheck tfschema trivy trufflesecurity/trufflehog/trufflehog | ||
NEXT_VERSION ?= $(shell git cliff --bump --unreleased --context | jq -r .[0].version) | ||
|
||
#------------------------------------------------------------------------------- | ||
|
@@ -25,6 +25,7 @@ install-tools-go: | |
@ $(HEADER) "=====> Installing Go packages..." | ||
$(GO) install github.com/antham/gommit@latest | ||
$(GO) install github.com/charmbracelet/gum@latest | ||
$(GO) install github.com/evilmartians/lefthook@latest | ||
$(GO) install github.com/google/osv-scanner/cmd/osv-scanner@v1 | ||
$(GO) install github.com/goph/licensei/cmd/licensei@latest | ||
$(GO) install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@latest | ||
|
@@ -142,12 +143,8 @@ docs-provider: clean-ds | |
find docs/ -type f -name "*.md" | xargs -I% sed -i 's|<!-- variadic argument generated by tfplugindocs -->||g' "%" | ||
|
||
@ echo " " | ||
# Will probably fail. | ||
- pre-commit run --all-files markdownlint | ||
|
||
@ echo " " | ||
# Will probably succeed. If not, there's a bigger issue. | ||
pre-commit run --all-files markdownlint | ||
# If this fails, there's a bigger issue. | ||
lefthook run pre-commit --commands markdownlint | ||
|
||
.PHONY: docs-cli | ||
## docs-cli: [docs] Preview the Go library documentation on the CLI. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.