mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-18 12:53:53 +08:00
20 lines
259 B
Bash
20 lines
259 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 -j8
|
||
|
|
|
||
|
|
# *** lint ***
|
||
|
|
#ruff check .
|
||
|
|
#mypy python/
|
||
|
|
pre-commit run --all-files
|
||
|
|
|
||
|
|
# *** test ***
|
||
|
|
pytest
|