From 5a6992de9b92e1d934d5120ee7efb0229424ebea Mon Sep 17 00:00:00 2001 From: Heman Jayam Date: Mon, 22 Jan 2024 10:01:49 -0600 Subject: [PATCH] using buildmode --- .goreleaser.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 3e0065e..40a9104 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,8 +10,7 @@ builds: - main: cmd/plax/main.go id: plax binary: plax - env: - - CGO_ENABLED=0 + buildmode: 'c-shared' goos: - linux - darwin @@ -22,8 +21,7 @@ builds: - main: cmd/plaxrun/main.go id: plaxrun binary: plaxrun - env: - - CGO_ENABLED=0 + buildmode: 'c-shared' goos: - linux - darwin @@ -34,8 +32,6 @@ builds: - main: cmd/plaxrun/plugins/report/stdout/main.go id: plaxrun_report_stdout binary: plaxrun_report_stdout - env: - - CGO_ENABLED=0 goos: - linux - darwin @@ -46,8 +42,6 @@ builds: - main: cmd/plaxrun/plugins/report/octane/main.go id: plaxrun_report_octane binary: plaxrun_report_octane - env: - - CGO_ENABLED=0 goos: - linux - darwin @@ -58,8 +52,6 @@ builds: - main: cmd/plaxrun/plugins/report/rp/main.go id: plaxrun_report_rp binary: plaxrun_report_rp - env: - - CGO_ENABLED=0 goos: - linux - darwin @@ -70,8 +62,6 @@ builds: - main: cmd/yamlincl/main.go id: yamlincl binary: yamlincl - env: - - CGO_ENABLED=0 goos: - linux - darwin