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:
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 New Issue
Block a user