Browse Source

Run post install command.

Without that the zip is not actually usable.
When no composer.lock is present a "composer install" gets effectively turned into "composer update".
ADmad 6 years ago
parent
commit
ee309f2e77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -125,7 +125,7 @@ dist/cakephp-$(DASH_VERSION).zip: build/app build/cakephp composer.phar
 	mkdir -p dist
 	@echo "Installing app dependencies with composer"
 	# Install deps with composer
-	cd build/app && php ../../composer.phar install
+	cd build/app && php ../../composer.phar install && ../../composer.phar run-script post-install-cmd --no-interaction
 	# Copy the current cakephp libs up so we don't have to wait
 	# for packagist to refresh.
 	rm -rf build/app/vendor/cakephp/cakephp