Rearranged the existing targets for the Makefile file in the project.
This commit is contained in:
parent
ef9423a475
commit
7f69ca1e91
16
Makefile
16
Makefile
@ -1,8 +1,16 @@
|
||||
# SWIFT PACKAGE MANAGER
|
||||
# PROJECT
|
||||
|
||||
build: ## Builds the project locally.
|
||||
@swift build -c release
|
||||
|
||||
run: ## Runs the project locally.
|
||||
@swift run -c release
|
||||
|
||||
tests: ## Runs all the test cases of the project.
|
||||
@swift test --enable-swift-testing
|
||||
|
||||
# SWIFT PACKAGE MANAGER
|
||||
|
||||
clean: ## Deletes built SPM artifacts from the package.
|
||||
@swift package clean
|
||||
|
||||
@ -12,12 +20,6 @@ outdated: ## Lists the SPM package dependencies that can be updated.
|
||||
reset: ## Resets the complete SPM cache/build folder from the package.
|
||||
@swift package reset
|
||||
|
||||
run: ## Runs the project locally.
|
||||
@swift run -c release
|
||||
|
||||
tests: ## Runs all the test cases of the project.
|
||||
@swift test --enable-swift-testing
|
||||
|
||||
update: ## Updates the SPM package dependencies.
|
||||
@swift package update
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user