mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-10 23:42:06 +08:00
6adb63b915
date: 2026-06-04T09:49:56 master commit: c0ab3550eca2e9daf197c46b7e4b24aa9637cf2e
19 lines
322 B
Bash
Executable File
19 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
source ./setup.sh
|
|
|
|
# *** uv lockfile check ***
|
|
uv lock --check
|
|
|
|
# *** lint + test ***
|
|
lefthook run test
|
|
|
|
# *** all done ***
|
|
GREEN='\033[0;32m'
|
|
NC='\033[0m'
|
|
printf "\n${GREEN}All good!${NC} Finished lint and test in ${SECONDS}s\n"
|