This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Commit f9262a3 1 parent 6c680db commit f9262a3 Copy full SHA for f9262a3
File tree 5 files changed +28
-15
lines changed
5 files changed +28
-15
lines changed Original file line number Diff line number Diff line change 38
38
<phingcall target =" setup:update" >
39
39
<property name =" drush.alias" value =" ${drush.aliases.ci}" />
40
40
</phingcall >
41
+ <phingcall target =" ci:toggle-modules" />
41
42
</target >
42
43
43
- <target name =" ci:toggle-modules" description =" Enables modules.ci.enable projects and uninstalls modules.ci.uninstall projects." >
44
+ <target name =" ci:toggle-modules" description =" Enables modules.ci.enable projects and uninstalls modules.ci.uninstall projects." hidden = " true " >
44
45
<phingcall target =" setup:toggle-modules" >
45
- <param name =" enable " value =" ${ modules.ci.enable} " />
46
- <param name =" uninstall " value =" ${ modules.ci.uninstall} " />
46
+ <param name =" enable_property " value =" modules.ci.enable" />
47
+ <param name =" uninstall_property " value =" modules.ci.uninstall" />
47
48
</phingcall >
48
49
</target >
49
50
</project >
Original file line number Diff line number Diff line change 168
168
169
169
<target name =" deploy:toggle-modules" description =" Enables modules.deploy.enable projects and uninstalls modules.deploy.uninstall projects." >
170
170
<phingcall target =" setup:toggle-modules" >
171
- <param name =" enable " value =" ${ modules.deploy.enable} " />
172
- <param name =" uninstall " value =" ${ modules.deploy.uninstall} " />
171
+ <param name =" enable_property " value =" modules.deploy.enable" />
172
+ <param name =" uninstall_property " value =" modules.deploy.uninstall" />
173
173
</phingcall >
174
174
</target >
175
175
</project >
Original file line number Diff line number Diff line change 32
32
33
33
<target name =" local:toggle-modules" description =" Enables modules.local.enable projects and uninstalls modules.local.uninstall projects." >
34
34
<phingcall target =" setup:toggle-modules" >
35
- <param name =" enable " value =" ${ modules.local.enable} " />
36
- <param name =" uninstall " value =" ${ modules.local.uninstall} " />
35
+ <param name =" enable_property " value =" modules.local.enable" />
36
+ <param name =" uninstall_property " value =" modules.local.uninstall" />
37
37
</phingcall >
38
38
</target >
39
39
40
- <target name =" local:update" description =" Update current database to reflect the state of the Drupal file system; uses local drush alias." depends = " local:toggle-modules " >
40
+ <target name =" local:update" description =" Update current database to reflect the state of the Drupal file system; uses local drush alias." >
41
41
<phingcall target =" setup:update" >
42
42
<property name =" drush.alias" value =" ${drush.aliases.local}" />
43
43
</phingcall >
44
+ <phingcall target =" local:toggle-modules" />
44
45
</target >
45
46
46
47
</project >
Original file line number Diff line number Diff line change 265
265
</target >
266
266
267
267
<target name =" setup:toggle-modules" description =" Enables and uninstalls specified modules." >
268
- <drush command =" pm-enable" assume =" yes" >
269
- <param >${enable}</param >
270
- <option >skip</option >
271
- </drush >
272
- <drush command =" pm-uninstall" assume =" yes" >
273
- <param >${uninstall}</param >
274
- </drush >
268
+ <if >
269
+ <isset property =" ${enable_property}" />
270
+ <then >
271
+ <drush command =" pm-enable" assume =" yes" >
272
+ <param >${${enable_property}}</param >
273
+ <option name =" skip" ></option >
274
+ </drush >
275
+ </then >
276
+ </if >
277
+ <if >
278
+ <isset property =" ${uninstall_property}" />
279
+ <then >
280
+ <drush command =" pm-uninstall" assume =" yes" >
281
+ <param >${${uninstall_property}}</param >
282
+ </drush >
283
+ </then >
284
+ </if >
275
285
</target >
276
286
277
287
</project >
Original file line number Diff line number Diff line change 8
8
}
9
9
],
10
10
"require" : {
11
+
11
12
"cweagans/composer-patches" : " dev-master#5456199acdcc16b243814aa45259f4c56272a634 as 1.5.0" ,
12
13
"drupal/acquia_connector" : " ^8.1.5" ,
13
14
"drupal/acsf" : " ^8.1.32" ,
You can’t perform that action at this time.
0 commit comments