-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.sh
More file actions
25 lines (18 loc) Β· 912 Bytes
/
Copy pathinit.sh
File metadata and controls
25 lines (18 loc) Β· 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
# Home-Ops Development Environment Initialization Script
set -e
echo "π Initializing home-ops development environment..."
# Check for required tools
command -v task >/dev/null 2>&1 || { echo >&2 "β task (go-task) is required but not installed. Aborting."; exit 1; }
command -v kubectl >/dev/null 2>&1 || { echo >&2 "β kubectl is required but not installed. Aborting."; exit 1; }
command -v flux >/dev/null 2>&1 || { echo >&2 "β flux is required but not installed. Aborting."; exit 1; }
# Install pre-commit hooks if applicable
if [ -d .git ]; then
echo "π¦ Setting up git hooks..."
# Placeholder for git hook setup
fi
# Run initial configuration task
echo "βοΈ Running initial configuration..."
task configure --optional
echo "β
Environment initialized successfully!"
echo "π Refer to AGENTS.md for project specification and .tasks/ for current objectives."