Skip to content

Commit

Permalink
Update Makefile and .goreleaser to include netgo package
Browse files Browse the repository at this point in the history
  • Loading branch information
misraved committed Oct 21, 2024
1 parent 91b98bb commit 23e3540
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ builds:

id: "steampipe"
binary: "{{ .ProjectName }}.plugin"
flags:
- -tags=netgo

archives:
- format: gz
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
BUILD_TAGS = netgo
install:
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/zoom@latest/steampipe-plugin-zoom.plugin *.go
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/zoom@latest/steampipe-plugin-zoom.plugin -tags "${BUILD_TAGS}" *.go

0 comments on commit 23e3540

Please sign in to comment.