From 6d8fb621d1e93b83786890d6d9cb6f0d8defa8ae Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Fri, 26 Jun 2026 18:04:09 +0200 Subject: refactor!: invert repo directory structure now is language first --- .githooks/pre-push | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 .githooks/pre-push (limited to '.githooks/pre-push') diff --git a/.githooks/pre-push b/.githooks/pre-push new file mode 100755 index 0000000..51a8761 --- /dev/null +++ b/.githooks/pre-push @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# Pre-push hook - run tests before pushing + +set -e + +echo "๐Ÿงช Running tests before push..." + +# Run the full test suite +task test + +if [ $? -eq 0 ]; then + echo "โœ… All tests passed! Push allowed." + exit 0 +else + echo "โŒ Tests failed! Push blocked." + echo "Fix the failing tests before pushing." + exit 1 +fi -- cgit v1.2.3