Skip to content

Commit d48fc28

Browse files
docs: document setup entry point behavior and failure handling
<!-- coderabbit-ai-generated:v1 -->
1 parent f81d5d8 commit d48fc28

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎setup.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ install_just() {
166166
}
167167

168168
# ── Main ──
169+
# Set up the project from the current directory, installing just if needed.
170+
# Run the first recipe whose `just --show` probe succeeds: setup, then
171+
# setup-dev; otherwise run doctor. On success, overwrite
172+
# INSTALL-SECURITY-REPORT.adoc with platform details and print security status.
173+
# Exit 1 if just is unavailable after the install attempt or neither Justfile
174+
# nor justfile is present. A failed selected recipe or report write stops the
175+
# script with a non-zero status; failed recipe probes select the next option.
169176
main() {
170177
printf "%s=== panic-attacker Setup ===%s\n\n" "$BOLD" "$RESET"
171178

0 commit comments

Comments
 (0)