icloud_photos_downloader/scripts/run_all_checks

16 lines
306 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# realpath not available on Mac by default...
realpath() {
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
}
CURRENT_DIR=$(dirname "$0")
ROOT_DIR="$(realpath $(dirname "$0")/..)"
$CURRENT_DIR/format
$CURRENT_DIR/lint
$CURRENT_DIR/type_check
$CURRENT_DIR/test