clean-cache rule in Makefile
This commit is contained in:
parent
4ee4311c1a
commit
d67ac40e3d
12
Makefile
12
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 "----------------------"
|
||||
|
|
Loading…
Reference in a new issue