Files
onepilot/msgq_repo/test.sh
github-actions[bot] 7c44d10fed sunnypilot v2026.002.000 release
date: 2026-06-02T19:04:03
master commit: dfc3c98b226da57a653daf57131a8a3d66166fcb
2026-06-02 19:04:12 +08:00

19 lines
312 B
Bash
Executable File

#!/bin/bash
set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
source ./setup.sh
# *** build ***
scons -j8
# *** lint + test ***
lefthook run test
# *** all done ***
GREEN='\033[0;32m'
NC='\033[0m'
printf "\n${GREEN}All good!${NC} Finished build, lint, and test in ${SECONDS}s\n"