From a21a4fc121ab63c0a7bc68bff1f8947c6ea0af1b Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Wed, 7 Aug 2024 10:08:59 -0700 Subject: [PATCH] update install with build tags etc (#136) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ad1d121..bbf5026 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ Diff 2 sets and apply command to deltas ## Installation -If you have golang, easiest install is +If you have golang, easiest install is (will also be the smallest binary thanks to build tags and other arguments) ```bash -go install github.com/fortio/delta@latest +CGO_ENABLED=0 go install -tags no_json,no_net -trimpath -ldflags "-w -s" github.com/fortio/delta@latest ``` Or brew custom tap