From 70b0e275c688aee382ccb7008c7af197a400c30d Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 27 Mar 2025 01:20:55 +0100 Subject: [PATCH] Amended "pristine" task and removed the "test-doc" target in the Makefile file. --- Makefile | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 9e5725f..daa74f7 100644 --- a/Makefile +++ b/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