From d67ac40e3d679a048629f6fa7e260f7366a2a2b0 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 11 Sep 2018 13:22:40 +0200 Subject: [PATCH] clean-cache rule in Makefile --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8bf831b..bccd434 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,15 @@ GIT ?= git MKDIR ?= mkdir PHP ?= php -all: update +all: update clean-cache composer: @echo "Installing PHP dependencies" @echo "---------------------------" @echo - $(COMPOSER) install $(COMPOSER_INSTALL_FLAGS) + $(COMPOSER) install + npm: @echo "Installing CSS/JS dependencies" @echo "------------------------------" @@ -30,6 +31,13 @@ update: $(COMPOSER) update $(NPM) install +clean-cache: + @echo "Removing cache" + @echo "--------------" + @echo + + rm -fr cache/* + run: @echo "Run development server" @echo "----------------------"