Browse Source

Tweak composer commands. Closes #1954.

Taylor Otwell 11 years ago
parent
commit
e12830534e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      composer.json

+ 6 - 0
composer.json

@@ -13,9 +13,15 @@
 		]
 	},
 	"scripts": {
+		"pre-install-cmd": [
+			"php artisan clear-compiled"
+		],
 		"pre-update-cmd": [
 			"php artisan clear-compiled"
 		],
+		"post-install-cmd": [
+			"php artisan optimize"
+		],
 		"post-update-cmd": [
 			"php artisan optimize"
 		]