From 2c4083c0e3b49ed4d52dc89653b837ada7189d6e Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 28 Sep 2025 23:32:53 +0200 Subject: [PATCH] Added the "lib-sample" task to the Makefile file. --- .env | 1 + Makefile | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.env b/.env index 23ca037..514675a 100644 --- a/.env +++ b/.env @@ -20,3 +20,4 @@ DOCC_XCODE_OUTPUT=./${SPM_LIBRARY_TARGET}.doccarchive # -- SWIFT PACKAGE MANAGER --- SPM_LIBRARY_TARGET=HummingbirdDocC +SPM_SAMPLE_TARGET=HummingbirdDocCSample \ No newline at end of file diff --git a/Makefile b/Makefile index b255468..e2eb043 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,10 @@ lib-release: ## Releases the library --target $(SPM_LIBRARY_TARGET) \ --configuration release +lib-sample: ## Runs the sample app of the library + @swift run \ + --configuration release \ + --disable-sandbox lib-test: ## Runs the unit tests for the library @swift test \