aboutsummaryrefslogtreecommitdiff
path: root/contrib/script/size.sh
blob: d409953918fb5151dd33f65f26691a94d096f3f2 (plain)
1
2
3
4
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