Download tasks/backcountry/solution/site/implementation/compile.sh from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 500 Bytes
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/backcountry/solution/site/implementation/compile.sh
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/backcountry/solution/site/implementation/compile.sh
-
curl -L -o compile.sh https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/backcountry/solution/site/implementation/compile.sh
500 Bytes
| 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" | |