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 0c5a235138 - Show all commits

View File

@ -39,3 +39,21 @@ update: ## Update the SPM package dependencies
wipe: clean reset purge ## Wipe all SPM package dependencies and purge the global SPM repository
# OPEN IDEs
vscode: ## Opens this project with Visual Studio Code
@code .
xcode: ## Opens this project with Xcode
@open -a Xcode Package.swift
# HELP
# Output the documentation for each of the defined tasks when `help` is called.
# Reference: https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
.PHONY: help
help: ## Prints the written documentation for all the defined tasks
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.DEFAULT_GOAL := help