[Closes #18] favicon and git lfs
This commit is contained in:
parent
7e17984377
commit
e0a4fbd88e
21 changed files with 102 additions and 0 deletions
2
.husky/_/applypatch-msg
Executable file
2
.husky/_/applypatch-msg
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
2
.husky/_/commit-msg
Executable file
2
.husky/_/commit-msg
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
22
.husky/_/h
Normal file
22
.husky/_/h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env sh
|
||||
[ "$HUSKY" = "2" ] && set -x
|
||||
n=$(basename "$0")
|
||||
s=$(dirname "$(dirname "$0")")/$n
|
||||
|
||||
[ ! -f "$s" ] && exit 0
|
||||
|
||||
if [ -f "$HOME/.huskyrc" ]; then
|
||||
echo "husky - '~/.huskyrc' is DEPRECATED, please move your code to ~/.config/husky/init.sh"
|
||||
fi
|
||||
i="${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh"
|
||||
[ -f "$i" ] && . "$i"
|
||||
|
||||
[ "${HUSKY-}" = "0" ] && exit 0
|
||||
|
||||
export PATH="node_modules/.bin:$PATH"
|
||||
sh -e "$s" "$@"
|
||||
c=$?
|
||||
|
||||
[ $c != 0 ] && echo "husky - $n script failed (code $c)"
|
||||
[ $c = 127 ] && echo "husky - command not found in PATH=$PATH"
|
||||
exit $c
|
||||
9
.husky/_/husky.sh
Normal file
9
.husky/_/husky.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
echo "husky - DEPRECATED
|
||||
|
||||
Please remove the following two lines from $0:
|
||||
|
||||
#!/usr/bin/env sh
|
||||
. \"\$(dirname -- \"\$0\")/_/husky.sh\"
|
||||
|
||||
They WILL FAIL in v10.0.0
|
||||
"
|
||||
2
.husky/_/post-applypatch
Executable file
2
.husky/_/post-applypatch
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
5
.husky/_/post-checkout
Executable file
5
.husky/_/post-checkout
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
|
||||
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
|
||||
git lfs post-checkout "$@"
|
||||
5
.husky/_/post-commit
Executable file
5
.husky/_/post-commit
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
|
||||
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
|
||||
git lfs post-commit "$@"
|
||||
5
.husky/_/post-merge
Executable file
5
.husky/_/post-merge
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
|
||||
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
|
||||
git lfs post-merge "$@"
|
||||
2
.husky/_/post-rewrite
Executable file
2
.husky/_/post-rewrite
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
2
.husky/_/pre-applypatch
Executable file
2
.husky/_/pre-applypatch
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
2
.husky/_/pre-auto-gc
Executable file
2
.husky/_/pre-auto-gc
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
2
.husky/_/pre-commit
Executable file
2
.husky/_/pre-commit
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
2
.husky/_/pre-merge-commit
Executable file
2
.husky/_/pre-merge-commit
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
5
.husky/_/pre-push
Executable file
5
.husky/_/pre-push
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
|
||||
command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; }
|
||||
git lfs pre-push "$@"
|
||||
2
.husky/_/pre-rebase
Executable file
2
.husky/_/pre-rebase
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
2
.husky/_/prepare-commit-msg
Executable file
2
.husky/_/prepare-commit-msg
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/h"
|
||||
Loading…
Add table
Add a link
Reference in a new issue