From 066f69b53ed776a3b6655d951d672a0be5d2334a Mon Sep 17 00:00:00 2001 From: misraved Date: Fri, 21 Jun 2024 19:16:30 +0530 Subject: [PATCH] Update Makefile to locally build the plugins using the netgo package --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e627929..b45887a2 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,4 @@ +STEAMPIPE_INSTALL_DIR ?= ~/.steampipe +BUILD_TAGS = netgo install: - go build -o ~/.steampipe/plugins/hub.steampipe.io/plugins/turbot/github@latest/steampipe-plugin-github.plugin *.go + go build -o $(STEAMPIPE_INSTALL_DIR)/plugins/hub.steampipe.io/plugins/turbot/github@latest/steampipe-plugin-github.plugin -tags "${BUILD_TAGS}" *.go