mirror of
https://github.com/infiniteCable2/opendbc.git
synced 2026-02-18 21:13:51 +08:00
22 lines
357 B
Bash
Executable File
22 lines
357 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
|
|
|
|
# *** 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"
|