1
0
mirror of https://gitnet.fr/deblan/gist.git synced 2021-08-14 08:30:49 +02:00

clean-cache rule in Makefile

This commit is contained in:
Simon Vieille 2018-09-11 13:22:40 +02:00
parent 4ee4311c1a
commit d67ac40e3d
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10

View File

@ -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 "----------------------"