.lib/stubs/scdoc

Wed, 27 Dec 2023 01:39:00 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 27 Dec 2023 01:39:00 -0600
changeset 1137
f767f8cd6a9f
parent 1107
c6d7ac40bd3c
permissions
-rwxr-xr-x

add asciidoctor and timetrap stubs

#!/bin/sh
set -eu

age_limit=180

install_it() {
  local scratch="$(mktemp -d)"
  trap 'rm -rf -- "$scratch"' EXIT
  git clone --depth=1 "https://git.sr.ht/~sircmpwn/scdoc" "$scratch"
  make -C "$scratch" install PREFIX="$HOME/.local"
  rm -rf -- "$scratch"
  asdf reshim || :
}

. ~/.lib/sh/stubexec.sh

mercurial