diff --git a/.gitignore b/.gitignore index e509fc4bf7..a8508d3d30 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,7 @@ site/.docusaurus/ site/node_modules/ hack/tools/bin - +output #vscode .vscode/ diff --git a/Makefile b/Makefile index dea7a96809..792776d93f 100644 --- a/Makefile +++ b/Makefile @@ -150,8 +150,8 @@ retina: ## builds retina binary $(MAKE) retina-binary retina-binary: ## build the Retina binary - go generate ./... - export CGO_ENABLED=0 + export CGO_ENABLED=0 && \ + go generate ./... && \ go build -v -o $(RETINA_BUILD_DIR)/retina$(EXE_EXT) -gcflags="-dwarflocationlists=true" -ldflags "-X main.version=$(TAG) -X main.applicationInsightsID=$(APP_INSIGHTS_ID)" $(RETINA_DIR)/main.go retina-capture-workload: ## build the Retina capture workload