Skip to content

Commit

Permalink
fix: failed to build binary by make retina-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
nayihz committed Mar 27, 2024
1 parent f93df8d commit e663f67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ site/.docusaurus/
site/node_modules/

hack/tools/bin

output
#vscode
.vscode/

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ retina: ## builds both retina and kapctl binaries
$(MAKE) retina-binary kubectl-retina

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

kubectl-retina-binary-%: ## build kubectl plugin locally.
Expand Down

0 comments on commit e663f67

Please sign in to comment.