Skip to content

Commit 97aa2fb

Browse files
committed
make: update makefile
1 parent 2d07f3e commit 97aa2fb

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

Makefile

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,19 @@ uninstall-opt: ## Uninstall binaries from PREFIX/bin for opt/PACKAGE/bin/*
5656
##@ Code Quality
5757

5858
.PHONY: test
59-
test: ## Run shellcheck on shell scripts
60-
gh shellcheck -e SC1090,SC1091 -- :tmux.d :opt/graveyard :bash/git-prompt.sh
59+
test: test-shellcheck ## Run all tests
60+
61+
.PHONY: test-shellcheck
62+
test-shellcheck: ## Run shellcheck on shell scripts
63+
gh shellcheck -e SC1090,SC1091 -- :tmux.d :opt/graveyard :bash/git-prompt.sh :bash/completion.d/
64+
65+
.PHONY: test-shfmt
66+
test-shfmt: ## Run shfmt on shell scripts
67+
gh shfmt -- :tmux.d :opt/graveyard :bash/git-prompt.sh :bash/completion.d/
68+
69+
.PHONY: fmt-shfmt
70+
fmt-shfmt: ## Run shfmt -w on shell scripts
71+
gh shfmt -w -- :tmux.d :opt/graveyard :bash/git-prompt.sh :bash/completion.d/
6172

6273
##@ Info
6374

0 commit comments

Comments
 (0)