Initial Robot U site prototype

This commit is contained in:
Kacper 2026-04-08 06:03:48 -04:00
commit fe19f200d7
27 changed files with 3677 additions and 0 deletions

12
scripts/install_git_hooks.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
if ! git -C "${root_dir}" rev-parse --git-dir >/dev/null 2>&1; then
echo "Skipping git hook install because ${root_dir} is not a git repository."
exit 0
fi
git -C "${root_dir}" config core.hooksPath .githooks
echo "Installed git hooks from ${root_dir}/.githooks"