You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/04 09:24:54 UTC

[GitHub] [apisix] kwanhur commented on a change in pull request #6245: build: purge all the dependent rocks

kwanhur commented on a change in pull request #6245:
URL: https://github.com/apache/apisix/pull/6245#discussion_r799294888



##########
File path: Makefile
##########
@@ -161,6 +161,14 @@ deps: runtime
 	fi
 
 
+### undeps : Uninstallation dependencies
+.PHONY: undeps
+undeps:
+	@$(call func_echo_status, "$@ -> [ Start ]")
+	$(ENV_LUAROCKS) purge --tree=deps

Review comment:
       this operation is easier, but deps install with `luarocks`, `luarocks purge` maybe more friendly when do the reversed.
   
   `luarocks install` in `make deps`, `luarocks purge` in `make undeps`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org