github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/contrib/script/size.sh (about)

     1  #!/bin/sh
     2  
     3  : "${GOPATH?Need to set GOPATH}"
     4  
     5  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