Refactor colored install log format - implement log functions and update all install scripts

Co-authored-by: andrejusk <7396847+andrejusk@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-06-20 20:37:01 +00:00
parent a4f05995bd
commit f6c737b5e4
18 changed files with 56 additions and 24 deletions

View File

@@ -7,7 +7,7 @@
# skip if in CODESPACES
if [[ -n "$CODESPACES" ]]; then
echo -e "${YELLOW}Running in GitHub Codespaces${NC}"
log_warn "Running in GitHub Codespaces"
export SKIP_CMATRIX_CONFIG=1
fi
@@ -19,7 +19,7 @@ if [[ -z "$SKIP_CMATRIX_CONFIG" ]]; then
brew install cmatrix
fi
fi
echo -e "${GREEN}cmatrix installed successfully!${NC}"
log_pass "cmatrix installed successfully!"
else
echo -e "${YELLOW}Skipping cmatrix configuration${NC}"
log_warn "Skipping cmatrix configuration"
fi