Improved the naming for the existing tasks in the Makefile file.
This commit is contained in:
@@ -17,13 +17,11 @@ environment ?= .env
|
||||
include $(environment)
|
||||
export $(shell sed 's/=.*//' $(environment))
|
||||
|
||||
# SWIFT PACKAGE MANAGER
|
||||
# LIBRARY
|
||||
|
||||
package-build: ## Builds the project locally
|
||||
lib-build: ## Builds the project locally
|
||||
@swift build
|
||||
|
||||
package-clean: ## Deletes built SPM artifacts from the package
|
||||
@swift package clean
|
||||
lib-test: ## Runs the tests of the library
|
||||
@swift test \
|
||||
--disable-xctest \
|
||||
@@ -31,13 +29,22 @@ lib-test: ## Runs the tests of the library
|
||||
--enable-swift-testing \
|
||||
--parallel
|
||||
|
||||
package-outdated: ## Lists the SPM package dependencies that can be updated
|
||||
@swift package update --dry-run
|
||||
# SWIFT PACKAGE MANAGER
|
||||
|
||||
package-reset: ## Resets the complete SPM cache/build folder from the package
|
||||
pkg-clean: ## Deletes built SPM artifacts of the package
|
||||
@swift package clean
|
||||
|
||||
pkg-reset: ## Resets the complete SPM cache/build folder of the package
|
||||
@swift package reset
|
||||
|
||||
package-update: ## Updates the SPM package dependencies
|
||||
pkg-pristine: pkg-clean pkg-reset ## Deletes all built artifacts, caches, and documentations of the package
|
||||
@rm -drf $(DOCC_GITHUB_OUTPUT)
|
||||
@rm -drf $(DOCC_XCODE_OUTPUT)
|
||||
|
||||
pkg-outdated: ## Lists the SPM package dependencies that can be updated
|
||||
@swift package update --dry-run
|
||||
|
||||
pkg-update: ## Updates the SPM package dependencies
|
||||
@swift package update
|
||||
|
||||
# DOCUMENTATION
|
||||
@@ -70,10 +77,10 @@ doc-preview: ## Previews the library documentation in Safari
|
||||
|
||||
# IDE
|
||||
|
||||
open-in-xcode: ## Opens this package with Xcode
|
||||
ide-xcode: ## Opens this package with Xcode
|
||||
@open -a Xcode Package.swift
|
||||
|
||||
open-in-vscode: ## Opens this package with Visual Studio Code
|
||||
ide-vscode: ## Opens this package with Visual Studio Code
|
||||
@code .
|
||||
|
||||
# HELP
|
||||
|
||||
Reference in New Issue
Block a user