Skip to content

Commit

Permalink
chore: add missing autoformat makefile target (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
RothAndrew authored Sep 19, 2023
1 parent 7db86d3 commit 9697f8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ pre-commit-common: ## Run the common pre-commit hooks. Returns nonzero exit code
.PHONY: fix-cache-permissions
fix-cache-permissions: ## Fixes the permissions on the pre-commit cache
docker run $(TTY_ARG) --rm -v "${PWD}:/app" --workdir "/app" -e "PRE_COMMIT_HOME=/app/.cache/pre-commit" ${BUILD_HARNESS_REPO}:${BUILD_HARNESS_VERSION} chmod -R a+rx .cache

.PHONY: autoformat
autoformat: ## [Docker] Autoformat all files
$(MAKE) _runhooks HOOK="" SKIP="check-added-large-files,check-merge-conflict,detect-aws-credentials,detect-private-key,check-yaml,golangci-lint,terraform_checkov,terraform_tflint,renovate-config-validator"

0 comments on commit 9697f8f

Please sign in to comment.