Skip to content

Commit

Permalink
Update Makefile to locally build the plugin using the netgo package
Browse files Browse the repository at this point in the history
  • Loading branch information
misraved committed Jun 21, 2024
1 parent 91a1640 commit 953b13c
Showing 1 changed file with 3 additions and 2 deletions.
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/terraform@latest/steampipe-plugin-terraform.plugin *.go
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/terraform@latest/steampipe-plugin-terraform.plugin -tags "${BUILD_TAGS}" *.go

0 comments on commit 953b13c

Please sign in to comment.