Skip to content

Commit

Permalink
chore(hook) add figlet to pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Apr 30, 2017
1 parent e9ef576 commit b9ce68b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion bin/pre-push
Expand Up @@ -21,6 +21,21 @@ npm run lint
npm version patch
WECHATY_INNER_PRE_HOOK=1 git push

cat <<'_STR_'
____ _ _ ____ _
/ ___(_) |_ | _ \ _ _ ___| |__
| | _| | __| | |_) | | | / __| '_ \
| |_| | | |_ | __/| |_| \__ \ | | |
\____|_|\__| |_| \__,_|___/_| |_|
____ _ _
/ ___| _ _ ___ ___ ___ ___ __| | |
\___ \| | | |/ __/ __/ _ \/ _ \/ _` | |
___) | |_| | (_| (_| __/ __/ (_| |_|
|____/ \__,_|\___\___\___|\___|\__,_(_)
_STR_

echo
echo
echo
Expand All @@ -34,6 +49,6 @@ npm run lint

# must run this after the above `test` ([ -z ...]),
# or will whow a error: error: failed to push some refs to 'git@github.com:wechaty/wechaty.git'
echo "PRE-PUSH HOOK PASSED"
echo "PRE-PUSH HOOK PASSED"
echo

0 comments on commit b9ce68b

Please sign in to comment.