diff --git a/.env b/.env index 1dde1ce..23ca037 100644 --- a/.env +++ b/.env @@ -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 \ No newline at end of file +SPM_LIBRARY_TARGET=HummingbirdDocC diff --git a/Makefile b/Makefile index e11e383..b255468 100644 --- a/Makefile +++ b/Makefile @@ -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 \