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