Fixed the "lib-build" and the "lib-release" tasks in the Makefile file.

This commit is contained in:
2025-09-28 23:32:37 +02:00
parent 941dde758a
commit 87a64af68a
2 changed files with 9 additions and 5 deletions
+3 -3
View File
@@ -13,10 +13,10 @@
# --- DOCUMENTATION ---
DOCC_GITHUB_OUTPUT=./docs
DOCC_GITHUB_BASE_PATH=hummingbird-docc-middleware
DOCC_PREVIEW_URL=http://localhost:8080/documentation/doccmiddleware
DOCC_GITHUB_BASE_PATH=hummingbird-docc
DOCC_PREVIEW_URL=http://localhost:8080/documentation/hummingbirddocc
DOCC_XCODE_OUTPUT=./${SPM_LIBRARY_TARGET}.doccarchive
# -- SWIFT PACKAGE MANAGER ---
SPM_LIBRARY_TARGET=DocCMiddleware
SPM_LIBRARY_TARGET=HummingbirdDocC
+6 -2
View File
@@ -20,10 +20,14 @@ export $(shell sed 's/=.*//' $(environment))
# LIBRARY
lib-build: ## Builds the library
@swift build
@swift build \
--target $(SPM_LIBRARY_TARGET)
lib-release: ## Releases the library
@swift build -c release
@swift build \
--target $(SPM_LIBRARY_TARGET) \
--configuration release
lib-test: ## Runs the unit tests for the library
@swift test \