mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 16:35:45 +00:00
export GOPATH=/foo sh contrib/script/size.sh Signed-off-by: baude <bbaude@redhat.com> Closes: #535 Approved by: baude
5 lines
187 B
Bash
Executable file
5 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
|