From 31dd83d77a9ff872176cd95e259196b15021224f Mon Sep 17 00:00:00 2001 From: flea Date: Wed, 5 Jun 2024 06:55:36 +0000 Subject: [PATCH] build(undeps): remove all rocks before remove openresty --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fa8b972df8bd..4c0ed68febbf 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,11 @@ deps: install-runtime ### undeps : Uninstalling dependencies .PHONY: undeps -undeps: uninstall-runtime +undeps: uninstall-rocks uninstall-runtime + + +.PHONY: uninstall-rocks +uninstall-rocks: @$(call func_echo_status, "$@ -> [ Start ]") $(ENV_LUAROCKS) purge --tree=deps @$(call func_echo_success_status, "$@ -> [ Done ]")