d3trax
5/13/2016 - 8:38 AM

Makefile

update:
	bin/manager --copy-configs
	composer install
	npm install
	bower install
	git ls-files --others --exclude-standard | grep db-evolutions | xargs -i '{}' rm {} || true
	bin/manager -c # clear cache
	bin/manager --drop-all-tables
	bin/manager -m # run migrations
	bin/manager --doctrine-fixture-load
	rm -fr web/images/
	rm -fr web/css/
	rm -fr web/js/
	gulp run
migrate_diff:
	git ls-files --others --exclude-standard | grep db-evolutions | xargs -i '{}' rm {} || true
	bin/manager -s # generate migration diff
	bin/runTests -l
migrate:
	bin/manager -m