diff --git a/.goreleaser.yml b/.goreleaser.yml index 40a9104..3e0065e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,8 @@ builds: - main: cmd/plax/main.go id: plax binary: plax - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -21,7 +22,8 @@ builds: - main: cmd/plaxrun/main.go id: plaxrun binary: plaxrun - buildmode: 'c-shared' + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -32,6 +34,8 @@ builds: - main: cmd/plaxrun/plugins/report/stdout/main.go id: plaxrun_report_stdout binary: plaxrun_report_stdout + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -42,6 +46,8 @@ builds: - main: cmd/plaxrun/plugins/report/octane/main.go id: plaxrun_report_octane binary: plaxrun_report_octane + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -52,6 +58,8 @@ builds: - main: cmd/plaxrun/plugins/report/rp/main.go id: plaxrun_report_rp binary: plaxrun_report_rp + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -62,6 +70,8 @@ builds: - main: cmd/yamlincl/main.go id: yamlincl binary: yamlincl + env: + - CGO_ENABLED=0 goos: - linux - darwin diff --git a/Makefile b/Makefile index 4f7c5f6..4af9a16 100644 --- a/Makefile +++ b/Makefile @@ -33,11 +33,11 @@ clean: .PHONY: dist dist: clean - goreleaser release --skip-publish --rm-dist + goreleaser release --skip=publish --clean .PHONY: release release: clean - goreleaser release --rm-dist + goreleaser release --clean # A demonstratio of using a Go plug-in to load a MySQL driver at # runtime for use in a Plax test that uses a SQL channel to talk to