FIXED:
* Some IDState things on *NIX-likes that have no clue what they're doing
This commit is contained in:
brent saner
2026-01-30 06:37:44 -05:00
parent ed44eb6230
commit 002067d3ac
7 changed files with 89 additions and 7 deletions

19
chkplat.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# go tool dist list for all valid GOOS/GOARCH targets.
for tgt in $(go tool dist list);
do
o="$(echo ${tgt} | cut -f1 -d '/')"
a="$(echo ${tgt} | cut -f2 -d '/')"
out="$(env GOOS=${o} GOARCH=${a} go build ./... 2>&1)"
ret=${?}
if [ $ret -ne 0 ];
then
echo "OS: ${o}"
echo "ARCH: ${a}"
echo "${out}"
echo
echo
fi
done