Set executable, package, and IDE tasks in the Makefile #10

Merged
javier merged 3 commits from setup/makefile into main 2025-02-20 22:51:47 +00:00
Showing only changes of commit 56a4e91b9e - Show all commits

View File

@ -20,3 +20,22 @@ install: build ## Install the built executable into the system
uninstall: ## Uninstall the built executable from the system
@rm -rf "$(BINARY_FOLDER)/$(EXECUTABLE_FILE)"
# PACKAGE MANAGEMENT
clean: ## Delete built SPM artifacts from the package
@swift package clean
outdated: ## List the SPM package dependencies that can be updated
@swift package update --dry-run
purge: ## Purge the global SPM package repository
@swift package purge-cache
reset: ## Reset the complete SPM cache/build folder from the package
@swift package reset
update: ## Update the SPM package dependencies
@swift package update
wipe: clean reset purge ## Wipe all SPM package dependencies and purge the global SPM repository