Added the "vscode" target to the Makefile file.

This commit is contained in:
Javier Cicchelli 2023-05-19 16:30:34 +02:00
parent 8631e1067c
commit edfcb049ea

View File

@ -14,6 +14,14 @@ override platform?=${DOCKER_IMAGE_PLATFORM}
override config?=${SWIFT_BUILD_CONFIGURATION}
override clean?=${DOCKER_IMAGE_CLEAN}
# --- IDE ---
xcode: ## Open this package in Xcode.
@open -a Xcode Package.swift
vscode: ## Open this package with Visual Studio Code.
@code .
# --- DEPENDENCIES ---
outdated: ## List the package dependencies that can be updated.
@ -70,11 +78,6 @@ flush-images: ## Flush all outstanding Swift docker images.
@docker images \
--all | grep ${DOCKER_IMAGE_NAME} | awk '{print $$3}' | xargs docker rmi --force
# --- MISCELLANEOUS ---
xcode: ## Open this package in Xcode.
@open -a Xcode Package.swift
# --- HELP ---
# Outputs the documentation for each of the defined tasks when `help` is called.