Compare commits
No commits in common. "71e7b74f75ad301eaecb283ac68587a8580115f4" and "94956d1c36662a6dd630ea1cd497946e311de75f" have entirely different histories.
71e7b74f75
...
94956d1c36
1 changed files with 8 additions and 17 deletions
13
py.cpypy.sh
13
py.cpypy.sh
|
@ -12,23 +12,14 @@ url="https://github.com\
|
||||||
|
|
||||||
rm --force --recursive "${root}"
|
rm --force --recursive "${root}"
|
||||||
mkdir --parents "${root}"
|
mkdir --parents "${root}"
|
||||||
wget --continue --output-document "${path}" "${url}" 2>/dev/null
|
wget --continue --output-document "${path}" "${url}"
|
||||||
echo
|
|
||||||
echo "${path}"
|
|
||||||
cat "${path}"
|
|
||||||
|
|
||||||
for url in $(jq -r ".. | objects | .url?" "${path}" |
|
for url in $(jq -r ".. | objects | .url?" "${path}" |
|
||||||
grep --invert-match "\(armv7\|ppc64le\|s390x\)" |
|
grep "\(cpython-3\.12\.6\|pypy3\.10\)"); do
|
||||||
grep --invert-match "\(apple-darwin\|macos\|windows-msvc\)"); do
|
|
||||||
case "$(basename "${url}")" in
|
|
||||||
cpython-3.12* | cpython-3.11* | cpython-3.10* | pypy3.10*)
|
|
||||||
file="$(basename "${url}" | sed "s|%2B|+|g")"
|
file="$(basename "${url}" | sed "s|%2B|+|g")"
|
||||||
dir="$(dirname "${url}")"
|
dir="$(dirname "${url}")"
|
||||||
date="$(basename "${dir}")"
|
date="$(basename "${dir}")"
|
||||||
path="${root}/${date}"
|
path="${root}/${date}"
|
||||||
mkdir --parents "${path}"
|
mkdir --parents "${path}"
|
||||||
wget --continue --output-document "${path}/${file}" "${url}"
|
wget --continue --output-document "${path}/${file}" "${url}"
|
||||||
;;
|
|
||||||
*) ;;
|
|
||||||
esac
|
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue