meta: superficial changes
This commit is contained in:
parent
d0763ac5ed
commit
00b8e57aa2
1 changed files with 4 additions and 4 deletions
|
@ -1,17 +1,17 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
note() { printf >&2 '\033[1m%s\033[0m\n' "$*" ;}
|
||||
|
||||
latest() { : \
|
||||
&& url="${1?huh}" \
|
||||
&& url="${1?missing argument}" \
|
||||
&& { [ "${url#"https://github.com/"}" = "$url" ] \
|
||||
&& re='/commit/' || re='/spoofed_commit_check/' \
|
||||
;} \
|
||||
&& curl $flags "$url" | grep -F "$re" | grep -Eo '[0-9a-f]{40}' \
|
||||
;}
|
||||
|
||||
: \
|
||||
&& any=0 flags="-L --no-progress-meter" n="$(printf '\n.')" n="${n%.}" \
|
||||
&& df=Dockerfile gh='https://github.com/' sr='https://git.sr.ht/~' \
|
||||
any=0 flags="-L --no-progress-meter" n="$(printf '\n.')" n="${n%.}" \
|
||||
df=Dockerfile gh='https://github.com/' sr='https://git.sr.ht/~' \
|
||||
&& set -- \
|
||||
cosmo COSMO_COMMIT ${gh}jart/cosmopolitan \
|
||||
cosmo-kuroko KUROKO_COMMIT ${gh}kuroko-lang/kuroko \
|
||||
|
|
Loading…
Reference in a new issue