File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,10 @@ module.exports = function(grunt) {
8585 laravel_composer_install : {
8686 cmd : function ( ) {
8787 var cwd = process . cwd ( ) ;
88- var template = '{{#tags}}(echo {{this}} && composer install -d laravel-{{this}}) && {{/tags}}' ;
88+ var template = '{{#tags}}(cd {{cwd}}/{{this}} && composer install && ' +
89+ 'composer run-script post-root-package-install && ' +
90+ 'composer run-script post-install-cmd && ' +
91+ 'composer run-script post-create-project-cmd) && {{/tags}}' ;
8992 var cmd ;
9093 var tags = laravel_tags ;
9194
@@ -153,15 +156,18 @@ module.exports = function(grunt) {
153156 lumen_composer_install : {
154157 cmd : function ( ) {
155158 var cwd = process . cwd ( ) ;
156- var template = '{{#tags}}(echo {{this}} && composer install -d lumen-{{this}}) && {{/tags}}' ;
159+ var template = '{{#tags}}(cd {{cwd}}/{{this}} && composer install && ' +
160+ 'composer run-script post-root-package-install && ' +
161+ 'composer run-script post-install-cmd && ' +
162+ 'composer run-script post-create-project-cmd) && {{/tags}}' ;
157163 var cmd ;
158164 var tags = lumen_tags ;
159165
160166 template = handlebars . compile ( template ) ;
161167 cmd = template ( { tags : tags , cwd : cwd } ) . replace ( / & & \s * $ / g, '' ) ;
162168
163169 console . log ( cmd ) ;
164- return cmd ;
170+ return cmd ; post - create - project - cmd
165171 } ,
166172 cwd : 'lumen' ,
167173 stdout : false ,
You can’t perform that action at this time.
0 commit comments