Fixed the "lib-build" and the "lib-release" tasks in the Makefile file.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user