diff --git a/contrib/script/size.sh b/contrib/script/size.sh new file mode 100755 index 0000000000..d409953918 --- /dev/null +++ b/contrib/script/size.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +: "${GOPATH?Need to set GOPATH}" + +cd cmd/podman/ && eval `go build -work -a 2>&1` && find $WORK -type f -name "*.a" | xargs -I{} du -hxs "{}" | sort -rh | sed -e s:${WORK}/::g