Added the "lib-sample" task to the Makefile file.
This commit is contained in:
@@ -20,3 +20,4 @@ DOCC_XCODE_OUTPUT=./${SPM_LIBRARY_TARGET}.doccarchive
|
||||
# -- SWIFT PACKAGE MANAGER ---
|
||||
|
||||
SPM_LIBRARY_TARGET=HummingbirdDocC
|
||||
SPM_SAMPLE_TARGET=HummingbirdDocCSample
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user