Browse Source

clean-cache rule in Makefile

dev-master
Simon Vieille 2 years ago
parent
commit
d67ac40e3d
No known key found for this signature in database GPG Key ID: 919533E2B946EA10
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      Makefile

+ 10
- 2
Makefile 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 "----------------------"


Loading…
Cancel
Save