mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-02-14 10:19:54 +00:00
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
This commit is contained in:
5
Makefile
5
Makefile
@@ -66,6 +66,11 @@ preflight-e2e-test:
|
||||
support-bundle-e2e-test:
|
||||
./test/validate-support-bundle-e2e.sh
|
||||
|
||||
# Build all binaries in parallel ( -j )
|
||||
build:
|
||||
@echo "Build cli binaries"
|
||||
$(MAKE) -j support-bundle preflight analyze collect
|
||||
|
||||
.PHONY: support-bundle
|
||||
support-bundle:
|
||||
go build ${BUILDFLAGS} ${LDFLAGS} -o bin/support-bundle github.com/replicatedhq/troubleshoot/cmd/troubleshoot
|
||||
|
||||
Reference in New Issue
Block a user