Skip to content

Commit 35cd549

Browse files
committed
build: ignore product descriptions
1 parent 815a0f7 commit 35cd549

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/tap-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
key: syntax-style-cache-${{ github.sha }}
6262
restore-keys: syntax-style-cache-
6363

64-
- run: brew style ${{ github.repository }}
64+
- run: brew style --except-cops Cask/Desc ${{ github.repository }}
6565
continue-on-error: true
6666

6767
- run: brew typecheck ${{ github.repository }}

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ export HOMEBREW_BUNDLE_USER_CACHE=$(abspath $(LOCAL_CACHE_DIR)/bundle-user-cache
2727

2828
dev-setup: test-tap test-cache
2929

30-
fmt format: check-style
31-
3230
test-tap:
3331
@-echo "(re)initialize tap worktree" >&2; sleep 1;
3432
-$(git) worktree remove $(GIT_FORCE) $(HOMEBREW_PREFIX)/Library/Taps/$(TEST_HOMEBREW_TAP)
@@ -41,8 +39,11 @@ $(LOCAL_CACHE_DIR):
4139

4240
check: check-style check-audit
4341

42+
fmt format:
43+
$(brew) style --except-cops Cask/Desc --fix .
44+
4445
check-style:
45-
$(brew) style .
46+
$(brew) style --except-cops Cask/Desc .
4647

4748
check-audit:
4849
$(brew) audit --skip-style --except=version --signing --os=all --arch=all --display-filename --tap=$(TEST_HOMEBREW_TAP)

0 commit comments

Comments
 (0)