File size: 500 Bytes
8ba65bb | 1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/env bash
set -Eeuo pipefail
root="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
cp "$root/harbor_entry.py" "$root/executable"
chmod 755 "$root/executable"
# Fold the frozen binary assets into a few blobs so the compiled build tree
# stays small: the verifier re-hashes the whole tree on every runtime start,
# including the one the `restart` action performs under a 15 s budget.
# Refuses to touch a bundle checkout; see clone/sitepack.py.
python3 "$root/clone/sitepack.py" --pack "$root"
|