From 7f69ca1e913629bdf3d64d699b2e807cb76ab971 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 13 Mar 2025 01:01:53 +0100 Subject: [PATCH] Rearranged the existing targets for the Makefile file in the project. --- Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8fa67b8..6ef01e2 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,16 @@ -# SWIFT PACKAGE MANAGER +# PROJECT build: ## Builds the project locally. @swift build -c release +run: ## Runs the project locally. + @swift run -c release + +tests: ## Runs all the test cases of the project. + @swift test --enable-swift-testing + +# SWIFT PACKAGE MANAGER + clean: ## Deletes built SPM artifacts from the package. @swift package clean @@ -12,12 +20,6 @@ outdated: ## Lists the SPM package dependencies that can be updated. reset: ## Resets the complete SPM cache/build folder from the package. @swift package reset -run: ## Runs the project locally. - @swift run -c release - -tests: ## Runs all the test cases of the project. - @swift test --enable-swift-testing - update: ## Updates the SPM package dependencies. @swift package update