From 624ba8df4bd4c901080d83842cc925847080dccc Mon Sep 17 00:00:00 2001 From: Ciprian Dorin Craciun Date: Sun, 11 Sep 2022 21:44:18 +0300 Subject: [PATCH] [scripts] Add support for stripping published binaries. --- scripts/go.z-run | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/go.z-run b/scripts/go.z-run index 77498b8..5299395 100644 --- a/scripts/go.z-run +++ b/scripts/go.z-run @@ -439,6 +439,11 @@ -o "${_outputs}/binaries/publish/kawipiko-${_component}--${_platform}" \ -- "./cmd/${_component}.go" \ # + strip \ + --strip-all \ + -- \ + "${_outputs}/binaries/publish/kawipiko-${_component}--${_platform}" \ + # done done !!