mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
32 lines
479 B
Bash
32 lines
479 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-ts" &
|
|
PID_TS=$!
|
|
|
|
sh "$SCRIPT_DIR/check-web" &
|
|
PID_WEB=$!
|
|
|
|
FAIL=0
|
|
|
|
wait "$PID_GO" || FAIL=1
|
|
wait "$PID_GO_TEST" || FAIL=1
|
|
wait "$PID_TS" || FAIL=1
|
|
wait "$PID_WEB" || FAIL=1
|
|
|
|
[ "$FAIL" -eq 0 ] || exit 1
|