chore: add version checking script for debuging

This commit is contained in:
Daylin Morgan 2023-01-03 11:50:46 -06:00
parent e8e7570cc9
commit 8882d9c50d
1 changed files with 18 additions and 0 deletions

18
bin/get-versions Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
divider() {
N=10
for ((i = 0; i < N; ++i)); do
printf '-'
done
}
show-version() {
printf "%s %s %s\n" "$(divider)" "$1" "$(divider)"
which "$1"
"$@"
}
show-version python --version
show-version fontforge --version
show-version docker --version
show-version uname -a