commit 70fe167
hovercats
·
2024-08-30 07:00:10 +0000 UTC
parent f53d355
github-cli: add flags to reduce size
2 files changed,
+2,
-2
+1,
-1
1@@ -3,7 +3,7 @@
2 export GOPATH="$PWD/go"
3 export GO111MODULE=on
4
5-CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"'\
6+CGO_ENABLED=0 go build -a -ldflags="-w -s -extldflags '-static'"\
7 -modcacherw \
8 -trimpath \
9 ./cmd/gh
+1,
-1
1@@ -1 +1 @@
2-2.55.0 1
3+2.55.0 2