From 3ad9c28a1976a1ba7288e31b7c5caa877990d539 Mon Sep 17 00:00:00 2001 From: flea Date: Tue, 11 Jun 2024 17:08:41 +0800 Subject: [PATCH] build(undeps): remove all rocks before remove openresty (#11333) --- 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 ]")