Files
CHatingPython 4a58e97812 Add git hooks
Signed-off-by: CHatingPython <chatingpython@gmail.com>
2026-05-31 19:16:50 +02:00

15 lines
201 B
Bash
Executable File

#!/usr/bin/env bash
set -e
BUILD_DIR="build"
echo "Building..."
cmake --build "$BUILD_DIR"
echo "Running tests..."
ctest --test-dir "$BUILD_DIR" --output-on-failure
echo "pre-push checks passed"