From 8c15d21591c8dcb5d063f6623ae9238597b6ac29 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Sat, 26 Feb 2022 14:04:47 +0000 Subject: [PATCH] [TOOLS] Add update-dependencies and update-autocode Make rules --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index c0c45c1c13..7018d4aa7e 100644 --- a/Makefile +++ b/Makefile @@ -72,4 +72,10 @@ flush-redis-cache: install-plugins: docker exec -it $(call translate-container-name,$(strip $(DIR))_php_1) /var/www/social/bin/install_plugins.sh +update-dependencies: + docker exec -it $(call translate-container-name,$(strip $(DIR))_php_1) sh -c 'cd /var/www/social && composer update' + +update-autocode: + docker exec -it $(call translate-container-name,$(strip $(DIR))_php_1) sh -c 'cd /var/www/social && bin/update_autocode' + force-nuke-everything: down remove-var remove-file up flush-redis-cache database-force-nuke install-plugins