1
0
mirror of https://gitnet.fr/deblan/gist.git synced 2021-08-14 08:30:49 +02:00
GIST/Makefile
2015-05-06 10:58:55 +02:00

37 lines
532 B
Makefile

COMPOSER ?= composer
BOWER ?= bower
all: composer
all: bower
prod: COMPOSER_INSTALL_FLAGS += --no-dev
prod: all optimize
composer:
@echo
#
# Installing application's dependencies.
#
$(COMPOSER) install $(COMPOSER_INSTALL_FLAGS)
bower:
@echo
#
# Installing application's dependencies.
#
$(BOWER) install
optimize:
@echo
#
# Optimizing Composer's autoloader, can take some time.
#
$(COMPOSER) dump-autoload --optimize
update:
@echo
#
# Updating application's depencies.
#
$(COMPOSER) update
$(BOWER) install