This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from padok-team/fix/version_requirements
fix: change provider requirements
- Loading branch information
Showing
3 changed files
with
39 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,40 @@ | ||
.PHONY: install | ||
install: | ||
pre-commit install | ||
pre-commit install --hook-type commit-msg | ||
DIR_GIT=$(shell sh -c "git rev-parse --show-toplevel") | ||
|
||
.PHONY: doc | ||
doc: README.md | ||
terraform-docs . | ||
all: help | ||
|
||
.PHONY: format | ||
format: | ||
##@ Docs Generation | ||
doc: README.md ## Generates Terraform docs for modules | ||
$(call info_colors,blue,📄 Terraform docs) | ||
@terraform-docs . | ||
|
||
##@ Checks | ||
precommit: ## Runs precommit on all files | ||
$(call info_colors,green,👍 Pre-commit checks) | ||
@pre-commit run --all-files && echo "Pre-commit checks passed" || echo "Pre-commit checks failed" | ||
|
||
##@ Formating | ||
format: ## Runs Terraform fmt and Validate | ||
terraform fmt | ||
terraform validate | ||
|
||
##@ Commit | ||
commit: ## Commits all files | ||
$(call info_colors,purple,🛍 Commits Changed files) | ||
@echo "Modified files:" | ||
@git status -s | ||
@cz | ||
|
||
cz: doc precommit commit ## Runs Docs, precommit and commits | ||
|
||
##@ Version | ||
dry-run: ## Dry run the version | ||
$(call info_colors,green,👏 Generate Version Dry Run) | ||
@npm run dry-run | ||
|
||
version: ## Generate the version | ||
$(call info_colors,green,👏 Generate Version) | ||
@npm run version | ||
|
||
include $(DIR_GIT)/prettier.mk | ||
|
||
.PHONY: all doc format precommit commit cz dry-run version |
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