Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,10 @@ preflight:
check *args:
#!/usr/bin/env bash
set -euo pipefail
# Pre-Launch Guard — remove after GA deploy when all URLs resolve
# Permanent exclusion: contributor-covenant.org is a flaky third-party URL.
GUARD=(
--exclude-url "https://zenzic.dev/blog/"
--exclude-url "https://zenzic.dev/docs/explanation/structural-integrity"
--exclude-url "https://zenzic.dev/developers/"
--exclude-url "https://zenzic.dev/it/developers/"
--exclude-url "https://github.com/PythonWoods/zenzic/releases/tag/v0.7.0"
--exclude-url "https://www.contributor-covenant.org/version/2/1/code_of_conduct.html"
)
if [[ ${#GUARD[@]} -gt 0 ]]; then
echo -e "\033[33m[QUARTZ WARNING] Pre-Launch Guard active: skipping internal/future URLs. DO NOT release with these guards active.\033[0m" >&2
fi
uvx --from "{{core_ref}}" zenzic check all --strict "${GUARD[@]}" {{args}}

# Static type check
Expand Down
8 changes: 2 additions & 6 deletions scripts/pre-commit-zenzic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,9 @@ fi

echo "Mode: Local Zenzic (${ZENZIC_PATH})"

# Pre-Launch Guard — remove after GA deploy when all URLs resolve
# Permanent exclusion: contributor-covenant.org is a flaky third-party URL.
GUARD=(
--exclude-url "https://zenzic.dev/blog/"
--exclude-url "https://zenzic.dev/docs/explanation/structural-integrity"
--exclude-url "https://zenzic.dev/developers/"
--exclude-url "https://zenzic.dev/it/developers/"
--exclude-url "https://github.com/PythonWoods/zenzic/releases/tag/v0.7.0"
--exclude-url "https://www.contributor-covenant.org/version/2/1/code_of_conduct.html"
)

uv run --project "${ZENZIC_PATH}" zenzic check all --strict "${GUARD[@]}" "$@"
Loading