bin/scdoc@77bf3b44f6f9
bin/scdoc
Sun, 05 Mar 2023 18:47:45 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Sun, 05 Mar 2023 18:47:45 -0500
- changeset 1062
- 77bf3b44f6f9
- parent 1006
-
12d7a48cef22
- permissions
- -rwxr-xr-x
Add format-on-write for elixir and go
#!/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