From 8c439cd3569c551dafbd1bfffdb0313724a21632 Mon Sep 17 00:00:00 2001 From: Danny Canter Date: Mon, 5 Jan 2026 13:50:57 -0800 Subject: [PATCH] makefile: Add cli target (#1022) Often times I'll be making a change that only touches the cli and I don't feel like sitting through the potential song and dance of the other components building/installing. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 3f854815..ff96d854 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,15 @@ build: @$(SWIFT) --version @$(SWIFT) build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION) +.PHONY: cli +cli: + @echo Building container CLI... + @$(SWIFT) --version + @$(SWIFT) build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION) --product container + @echo Installing container CLI to bin/... + @mkdir -p bin + @install "$(BUILD_BIN_DIR)/container" "bin/container" + .PHONY: container # Install binaries under project directory container: build