Skip to content

Commit 0212f16

Browse files
authored
Adds a system-provided checkmake hook for pre-commit
[Problems with pre-commit's invocation of `go install`][pc-gh2722] had me wanting more options for how to run hooks in case the automated installation fails. Since checkmake is available in at least Homebrew, it'd be nice to have a hook that can use a checkmake executable already installed in the system PATH. [pc-gh2722]: pre-commit/pre-commit#2722
1 parent c047d51 commit 0212f16

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.pre-commit-hooks.yaml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44
language: golang
55
pass_filenames: true
66
types: [makefile]
7+
- id: checkmake-system
8+
name: Makefile linter/analyzer
9+
entry: checkmake
10+
language: system
11+
types: [makefile]
12+
pass_filenames: true

0 commit comments

Comments
 (0)