Fix typo in Makefile

This commit is contained in:
Simon Vieille 2018-09-11 13:41:43 +02:00
parent d67ac40e3d
commit 426cf0e1f1
No known key found for this signature in database
GPG key ID: 919533E2B946EA10

View file

@ -3,6 +3,7 @@ NPM ?= npm
GIT ?= git GIT ?= git
MKDIR ?= mkdir MKDIR ?= mkdir
PHP ?= php PHP ?= php
RM ?= rm
all: update clean-cache all: update clean-cache
@ -11,39 +12,39 @@ composer:
@echo "---------------------------" @echo "---------------------------"
@echo @echo
$(COMPOSER) install ${COMPOSER} install
npm: npm:
@echo "Installing CSS/JS dependencies" @echo "Installing CSS/JS dependencies"
@echo "------------------------------" @echo "------------------------------"
@echo @echo
$(NPM) install ${NPM} install
update: update:
@echo "Updating application's dependencies" @echo "Updating application's dependencies"
@echo "-----------------------------------" @echo "-----------------------------------"
@echo @echo
$(GIT) pull origin master ${GIT} pull origin master
${MKDIR} -p data/git ${MKDIR} -p data/git
${MKDIR} -p data/cache ${MKDIR} -p data/cache
$(COMPOSER) update ${COMPOSER} update
$(NPM) install ${NPM} install
clean-cache: clean-cache:
@echo "Removing cache" @echo "Removing cache"
@echo "--------------" @echo "--------------"
@echo @echo
rm -fr cache/* ${RM} -fr cache/*
run: run:
@echo "Run development server" @echo "Run development server"
@echo "----------------------" @echo "----------------------"
@echo @echo
$(PHP) -S 127.0.0.1:8080 -t web ${PHP} -S 127.0.0.1:8080 -t web
propel: propel:
@echo "Propel migration" @echo "Propel migration"