Files
msgq/test.sh
Adeeb Shihadeh 4b3393aea9 remove pre-commit (#652)
* remove pre-commit

* cleanup

* fix codespell

* lil more

* lefthook

* lil more

* fix cpplint

* brew install has a ton of overhead

* speed up cppcheck
2025-12-28 10:06:31 -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"