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 0d6d86e commit 36ae43e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
BUILD_TAGS = netgo
install:
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/googledirectory@latest/steampipe-plugin-googledirectory.plugin *.go
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/googledirectory@latest/steampipe-plugin-googledirectory.plugin -tags "${BUILD_TAGS}" *.go

0 comments on commit 36ae43e

Please sign in to comment.