Added the "lib-sample" task to the Makefile file.

This commit is contained in:
2025-09-28 23:32:53 +02:00
parent 87a64af68a
commit 2c4083c0e3
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -20,3 +20,4 @@ DOCC_XCODE_OUTPUT=./${SPM_LIBRARY_TARGET}.doccarchive
# -- SWIFT PACKAGE MANAGER --- # -- SWIFT PACKAGE MANAGER ---
SPM_LIBRARY_TARGET=HummingbirdDocC SPM_LIBRARY_TARGET=HummingbirdDocC
SPM_SAMPLE_TARGET=HummingbirdDocCSample
+4
View File
@@ -28,6 +28,10 @@ lib-release: ## Releases the library
--target $(SPM_LIBRARY_TARGET) \ --target $(SPM_LIBRARY_TARGET) \
--configuration release --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 lib-test: ## Runs the unit tests for the library
@swift test \ @swift test \