mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
68896cd729
* # This is a combination of 6 commits. # This is the 1st commit message: feat(channel): add WeChat (weixin) adapter with QR code (#278) * feat(channel): add WeChat (weixin) adapter with QR code * fix(channel): fix weixin block streaming * chore(channel): update weixin logo # The commit message #2 will be skipped: # build: 修改lint配置 # The commit message #3 will be skipped: # build: 修改lint配置 # The commit message #4 will be skipped: # 修改lint配置 # The commit message #5 will be skipped: # 检测类型错误 # The commit message #6 will be skipped: # ts类型检测错误 * feat(husky): update linting configuration to improve pre-commit checks --------- Co-authored-by: 晨苒 <16112591+chen-ran@users.noreply.github.com>
28 lines
415 B
Bash
28 lines
415 B
Bash
#!/usr/bin/env sh
|
|
|
|
|
|
# Get script directory
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
sh "$SCRIPT_DIR/check-large-files" || exit 1
|
|
|
|
echo ""
|
|
echo "Running checks..."
|
|
|
|
sh "$SCRIPT_DIR/check-go" &
|
|
PID_GO=$!
|
|
|
|
sh "$SCRIPT_DIR/check-go-test" &
|
|
PID_GO_TEST=$!
|
|
|
|
sh "$SCRIPT_DIR/check-web" &
|
|
PID_WEB=$!
|
|
|
|
FAIL=0
|
|
|
|
wait "$PID_GO" || FAIL=1
|
|
wait "$PID_GO_TEST" || FAIL=1
|
|
wait "$PID_WEB" || FAIL=1
|
|
|
|
[ "$FAIL" -eq 0 ] || exit 1
|