deps: update [ci-base] [ci-force]

This commit is contained in:
Anmol Sethi 2022-12-13 03:29:30 -08:00
parent dd160cdc8d
commit e993bb1071
No known key found for this signature in database
GPG key ID: 8CEF1878FF10ADEB
5 changed files with 34 additions and 12 deletions

View file

@ -46,11 +46,18 @@ if [ "${LIB_TEMP-}" ]; then
fi
LIB_TEMP=1
if [ -z "${_TMPDIR-}" ]; then
ensure_tmpdir() {
if [ -n "${_TMPDIR-}" ]; then
return
fi
_TMPDIR=$(mktemp -d)
export _TMPDIR
}
if [ -z "${_TMPDIR-}" ]; then
trap 'rm -Rf "$_TMPDIR"' EXIT
fi
ensure_tmpdir
temppath() {
while true; do
@ -110,10 +117,14 @@ should_color() {
}
setaf() {
tput setaf "$1"
fg=$1
shift
printf '%s' "$*"
tput sgr0
printf '%s\n' "$*" | while IFS= read -r line; do
tput setaf "$fg"
printf '%s' "$line"
tput sgr0
printf '\n'
done
}
_echo() {

2
ci/sub

@ -1 +1 @@
Subproject commit 72982e51711dffc4adb2a01bd362efe6717ee264
Subproject commit 7923b353a829cf289171baff0d0d017ae3d32278

2
go.mod generated
View file

@ -21,7 +21,7 @@ require (
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2
gonum.org/v1/plot v0.12.0
nhooyr.io/websocket v1.8.7
oss.terrastruct.com/util-go v0.0.0-20221213080405-7f0aae8a6adb
oss.terrastruct.com/util-go v0.0.0-20221213112904-c09378905bfb
)
require (

4
go.sum generated
View file

@ -806,8 +806,8 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
nhooyr.io/websocket v1.8.7 h1:usjR2uOr/zjjkVMy0lW+PPohFok7PCow5sDjLgX4P4g=
nhooyr.io/websocket v1.8.7/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
oss.terrastruct.com/util-go v0.0.0-20221213080405-7f0aae8a6adb h1:XQp4YTZnIOKWDDxLP+h+9+fwMAi81ks+TONvzRwSAfs=
oss.terrastruct.com/util-go v0.0.0-20221213080405-7f0aae8a6adb/go.mod h1:Fwy72FDIOOM4K8F96ScXkxHHppR1CPfUyo9+x9c1PBU=
oss.terrastruct.com/util-go v0.0.0-20221213112904-c09378905bfb h1:ybqEeDAI/VyaVgPd5kis5aq+IPhHI3dQmdSxFG6SuuY=
oss.terrastruct.com/util-go v0.0.0-20221213112904-c09378905bfb/go.mod h1:Fwy72FDIOOM4K8F96ScXkxHHppR1CPfUyo9+x9c1PBU=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/pdf v0.1.1 h1:k1MczvYDUvJBe93bYd7wrZLLUEcLZAuF824/I4e5Xr4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=

View file

@ -51,11 +51,18 @@ if [ "${LIB_TEMP-}" ]; then
fi
LIB_TEMP=1
if [ -z "${_TMPDIR-}" ]; then
ensure_tmpdir() {
if [ -n "${_TMPDIR-}" ]; then
return
fi
_TMPDIR=$(mktemp -d)
export _TMPDIR
}
if [ -z "${_TMPDIR-}" ]; then
trap 'rm -Rf "$_TMPDIR"' EXIT
fi
ensure_tmpdir
temppath() {
while true; do
@ -115,10 +122,14 @@ should_color() {
}
setaf() {
tput setaf "$1"
fg=$1
shift
printf '%s' "$*"
tput sgr0
printf '%s\n' "$*" | while IFS= read -r line; do
tput setaf "$fg"
printf '%s' "$line"
tput sgr0
printf '\n'
done
}
_echo() {