From 953b13c603d4231f8a81340b19359ae642ad4b8b Mon Sep 17 00:00:00 2001 From: misraved Date: Fri, 21 Jun 2024 18:52:53 +0530 Subject: [PATCH] Update Makefile to locally build the plugin using the netgo package --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 34cf8f9..5a04cc5 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file