mirror of
https://github.com/herizon1054/openpilot.git
synced 2026-04-06 18:04:04 +08:00
16 lines
204 B
Bash
16 lines
204 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
set -e
|
||
|
|
|
||
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
||
|
|
cd $DIR
|
||
|
|
|
||
|
|
# *** env setup ***
|
||
|
|
source ./setup.sh
|
||
|
|
|
||
|
|
# *** build ***
|
||
|
|
scons
|
||
|
|
|
||
|
|
# *** lint + test ***
|
||
|
|
ruff check .
|
||
|
|
pytest
|