Amended "pristine" task and removed the "test-doc" target in the Makefile file.
This commit is contained in:
parent
a74bad7bd5
commit
70b0e275c6
19
Makefile
19
Makefile
@ -6,7 +6,6 @@ BINARY_NAME_EXECUTABLE = doxy
|
||||
DOCC_ARCHIVES = Doxy*.doccarchive
|
||||
DOCC_ARCHIVES_FOLDER = Resources/Archives
|
||||
DOCC_BUILD_FOLDER = .build/plugins/Swift-DocC/outputs
|
||||
DOCC_TEST_FOLDER = Resources/Archives/Test
|
||||
DOCKER_IMAGE_NAME = doxy-app
|
||||
TARGET_APP = DoxyApp
|
||||
TARGET_LIBRARY = DoxyLibrary
|
||||
@ -28,6 +27,12 @@ endef
|
||||
|
||||
# PROJECT
|
||||
|
||||
outdated: ## Lists the SPM package dependencies that can be updated.
|
||||
@swift package update --dry-run
|
||||
|
||||
update: ## Updates the SPM package dependencies.
|
||||
@swift package update
|
||||
|
||||
build: ## Builds the project locally.
|
||||
@swift build -c release
|
||||
|
||||
@ -46,12 +51,6 @@ uninstall: ## Uninstalls the built executable from the local system.
|
||||
|
||||
# SWIFT PACKAGE MANAGER
|
||||
|
||||
outdated: ## Lists the SPM package dependencies that can be updated.
|
||||
@swift package update --dry-run
|
||||
|
||||
update: ## Updates the SPM package dependencies.
|
||||
@swift package update
|
||||
|
||||
clean: ## Deletes built SPM artifacts from the package.
|
||||
@swift package clean
|
||||
|
||||
@ -63,7 +62,6 @@ purge: ## Purges the global repository cache.
|
||||
|
||||
pristine: clean reset purge ## Cleans up all built archifacts and generated documentations from the project.
|
||||
@rm -drf $(DOCC_ARCHIVES_FOLDER)/$(DOCC_ARCHIVES)
|
||||
@rm -drf $(DOCC_TEST_FOLDER)/$(DOCC_ARCHIVES)
|
||||
|
||||
# DOCUMENTATION
|
||||
|
||||
@ -79,11 +77,6 @@ preview-doc: ## Previews the DocC documentation for the library target.
|
||||
--symbol-graph-minimum-access-level internal\
|
||||
--enable-inherited-docs
|
||||
|
||||
test-doc: ## Builds the DocC documentation for the app and the library targets in the test folder.
|
||||
@$(call generate-archive,$(TARGET_APP))
|
||||
@$(call generate-archive,$(TARGET_LIBRARY))
|
||||
@$(call copy-archives,$(DOCC_TEST_FOLDER))
|
||||
|
||||
# DOCKER
|
||||
|
||||
build-image: ## Builds a docker image out of the current source code
|
||||
|
Loading…
x
Reference in New Issue
Block a user