mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00

export GOPATH=/foo sh contrib/script/size.sh Signed-off-by: baude <bbaude@redhat.com> Closes: #535 Approved by: baude
6 lines
187 B
Bash
Executable File
6 lines
187 B
Bash
Executable File
#!/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
|