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

48 lines
874 B
Makefile
Raw Normal View History

2015-05-06 10:58:55 +02:00
COMPOSER ?= composer
BOWER ?= bower
2015-05-09 17:42:53 +02:00
GIT ?= git
MKDIR ?= mkdir
2015-05-06 10:58:55 +02:00
2015-05-09 17:42:53 +02:00
all: update
2015-05-06 10:58:55 +02:00
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
#
2015-05-10 02:32:24 +02:00
# Updating application's dependencies.
2015-05-06 10:58:55 +02:00
#
2015-05-09 17:42:53 +02:00
$(GIT) pull origin master
${MKDIR} -p data/git
2015-05-06 10:58:55 +02:00
$(COMPOSER) update
$(BOWER) install
2015-05-09 17:42:53 +02:00
propel:
@echo
#
# Propel migration.
#
./vendor/propel/propel/bin/propel config:convert
./vendor/propel/propel/bin/propel model:build --recursive
./vendor/propel/propel/bin/propel migration:diff --recursive
./vendor/propel/propel/bin/propel migration:migrate --recursive
./vendor/propel/propel/bin/propel model:build --recursive