You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The help will print out all targets with their descriptions organized bellow their categories. The categories are represented by `##@` and the target descriptions by `##`.
24
30
# The awk commands is responsible to read the entire set of makefiles included in this invocation, looking for lines of the file as xyz: ## something, and then pretty-format the target and help. Then, if there's a line with ##@ something, that gets pretty-printed as a category.
@@ -40,7 +46,12 @@ clean: ## Clean up all build artifacts
40
46
build: clean tidy format ## Build the project
41
47
go build $(COMMON_BUILD_ARGS) -o $(BINARY_NAME) ./cmd/kubernetes-mcp-server
42
48
43
-
CLEAN_TARGETS+='$(BINARY_NAME)'
49
+
50
+
.PHONY: build-all-platforms
51
+
build-all-platforms: clean tidy format ## Build the project for all platforms
52
+
$(foreach os,$(OSES),$(foreach arch,$(ARCHS), \
53
+
GOOS=$(os) GOARCH=$(arch) go build $(COMMON_BUILD_ARGS) -o $(BINARY_NAME)-$(os)-$(arch) ./cmd/kubernetes-mcp-server;\
0 commit comments