Implemented the "pristine" and "purge" tasks in the Makefile file.
This commit is contained in:
parent
c94d024c75
commit
2b1c97d728
7
Makefile
7
Makefile
@ -39,6 +39,13 @@ tests: ## Runs all the test cases of the project.
|
|||||||
clean: ## Deletes built SPM artifacts from the package.
|
clean: ## Deletes built SPM artifacts from the package.
|
||||||
@swift package clean
|
@swift package clean
|
||||||
|
|
||||||
|
pristine: clean reset purge ## Cleans up all built archifacts and generated documentations from the project.
|
||||||
|
@rm -drf $(DOCC_ARCHIVES_FOLDER)/$(DOCC_ARCHIVES)
|
||||||
|
@rm -drf $(DOCC_TEST_FOLDER)/$(DOCC_ARCHIVES)
|
||||||
|
|
||||||
|
purge: ## Purges the global repository cache.
|
||||||
|
@swift package purge-cache
|
||||||
|
|
||||||
outdated: ## Lists the SPM package dependencies that can be updated.
|
outdated: ## Lists the SPM package dependencies that can be updated.
|
||||||
@swift package update --dry-run
|
@swift package update --dry-run
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user