-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💀 Add skeleton files for upcoming checkers
- Loading branch information
1 parent
dc193b1
commit 43cf7bf
Showing
5 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Captain git-hook manager control file | ||
|
||
# Why is there no shellcheck? Doesn't seem to work well for too many things with Zsh. | ||
[pre_commit] | ||
hithere = 'hello $CAPT_FILES_CHANGED' | ||
# redundant with markdownlint but for testing filters etc | ||
doclint = '(md|mkd)mdl $CAPT_FILES_CHANGED' ## check markdown for violations | ||
markdownlint = '' | ||
# -markdownlint | ||
missingnewline = '' | ||
fixmes = 'git-confirm.sh' ## check for FIXMEs etc | ||
|
||
|
||
[commit_msg] | ||
msglint = '' | ||
|
||
[prepare_commit_msg] | ||
br2msg = '' | ||
|
||
[post_commit] | ||
colorquote = '' | ||
|
||
[post_checkout] | ||
fake-migalert = 'print "faking a checkout trigger"' ## fake a migalert | ||
fake-bundler = 'print "pretending to run bundler"' ## bundle resources | ||
|
||
|
||
# after a commit is modified by an amend or rebase | ||
[post_rewrite] | ||
# migalert = '' | ||
|
||
|
||
[pre_push] | ||
# run-test-suite = '' | ||
# nvd = '' | ||
|
||
|
||
[integration] | ||
colorquote = '' | ||
hi = 'hello some test params' | ||
markdownlint = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /bin/zsh | ||
|
||
# rep, for running unit tests: https://github.com/eraserhd/rep | ||
git clone https://github.com/eraserhd/rep | ||
cd rep | ||
cc -g -O2 -e rep rep.c | ||
|
||
# gnu utils mac | ||
brew install coreutils findutils gnu-tar gnu-sed gawk gnutls gnu-indent gnu-getopt grep | ||
|
||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#! /bin/zsh | ||
|
||
### Check soql for things like: | ||
# Date = LAST_WEEK | ||
# Date < LAST_N_DAYS:7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#! /bin/zsh | ||
|
||
### Block commits with typos in strings |