Skip to content

Commit 145bad7

Browse files
authored
chore: add make target to build all binaries together (#1211)
Add make build target that builds all troubleshoot binaries in parallel using -j make flag that lets make run all make sub-targets as separate jobs
1 parent a3b7975 commit 145bad7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ preflight-e2e-test:
6666
support-bundle-e2e-test:
6767
./test/validate-support-bundle-e2e.sh
6868

69+
# Build all binaries in parallel ( -j )
70+
build:
71+
@echo "Build cli binaries"
72+
$(MAKE) -j support-bundle preflight analyze collect
73+
6974
.PHONY: support-bundle
7075
support-bundle:
7176
go build ${BUILDFLAGS} ${LDFLAGS} -o bin/support-bundle github.com/replicatedhq/troubleshoot/cmd/troubleshoot

0 commit comments

Comments
 (0)