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.
|
build: ## Builds the project locally.
|
||||||
@swift build -c release
|
@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.
|
clean: ## Deletes built SPM artifacts from the package.
|
||||||
@swift package clean
|
@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.
|
reset: ## Resets the complete SPM cache/build folder from the package.
|
||||||
@swift package reset
|
@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.
|
update: ## Updates the SPM package dependencies.
|
||||||
@swift package update
|
@swift package update
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user