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
|
MKDIR ?= mkdir
|
||||||
PHP ?= php
|
PHP ?= php
|
||||||
|
|
||||||
all: update
|
all: update clean-cache
|
||||||
|
|
||||||
composer:
|
composer:
|
||||||
@echo "Installing PHP dependencies"
|
@echo "Installing PHP dependencies"
|
||||||
@echo "---------------------------"
|
@echo "---------------------------"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
$(COMPOSER) install $(COMPOSER_INSTALL_FLAGS)
|
$(COMPOSER) install
|
||||||
|
|
||||||
npm:
|
npm:
|
||||||
@echo "Installing CSS/JS dependencies"
|
@echo "Installing CSS/JS dependencies"
|
||||||
@echo "------------------------------"
|
@echo "------------------------------"
|
||||||
|
@ -30,6 +31,13 @@ update:
|
||||||
$(COMPOSER) update
|
$(COMPOSER) update
|
||||||
$(NPM) install
|
$(NPM) install
|
||||||
|
|
||||||
|
clean-cache:
|
||||||
|
@echo "Removing cache"
|
||||||
|
@echo "--------------"
|
||||||
|
@echo
|
||||||
|
|
||||||
|
rm -fr cache/*
|
||||||
|
|
||||||
run:
|
run:
|
||||||
@echo "Run development server"
|
@echo "Run development server"
|
||||||
@echo "----------------------"
|
@echo "----------------------"
|
||||||
|
|
Loading…
Reference in a new issue