Skip to content

Commit 953b13c

Browse files
committed
Update Makefile to locally build the plugin using the netgo package
1 parent 91a1640 commit 953b13c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
1+
STEAMPIPE_INSTALL_DIR ?= ~/.steampipe
2+
BUILD_TAGS = netgo
23
install:
3-
go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/terraform@latest/steampipe-plugin-terraform.plugin *.go
4+
go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/terraform@latest/steampipe-plugin-terraform.plugin -tags "${BUILD_TAGS}" *.go

0 commit comments

Comments
 (0)