Skip to content

Commit

Permalink
define make target for easily typing diff command after docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Feb 3, 2021
1 parent 5fe129c commit b1be7c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ jobs:
make generate-docs
- name: Check diff
run: |
git diff-files --name-only --exit-code
make diff-docs
5 changes: 4 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,7 @@ generate-docs: install-tools
validate-docs: install-tools
tfplugindocs validate

.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile validate-docs generate-docs install-tools dependencies
diff-docs:
@git diff-files --ignore-all-space --name-only --exit-code

.PHONY: build test testacc vet fmt fmtcheck errcheck test-compile validate-docs generate-docs install-tools dependencies diff-docs

0 comments on commit b1be7c3

Please sign in to comment.