This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Commit 1b171aa 1 parent f9262a3 commit 1b171aa Copy full SHA for 1b171aa
File tree 4 files changed +19
-25
lines changed
4 files changed +19
-25
lines changed Original file line number Diff line number Diff line change 14
14
<phingcall target =" setup" >
15
15
<property name =" drush.alias" value =" ${drush.aliases.ci}" />
16
16
<property name =" create_alias" value =" n" />
17
+ <property name =" enable_property" value =" modules.ci.enable" />
18
+ <property name =" uninstall_property" value =" modules.ci.uninstall" />
17
19
</phingcall >
18
20
</target >
19
21
37
39
<target name =" ci:update" description =" Update current database to reflect the state of the Drupal file system; uses ci drush alias." hidden =" true" >
38
40
<phingcall target =" setup:update" >
39
41
<property name =" drush.alias" value =" ${drush.aliases.ci}" />
40
- </phingcall >
41
- <phingcall target =" ci:toggle-modules" />
42
- </target >
43
-
44
- <target name =" ci:toggle-modules" description =" Enables modules.ci.enable projects and uninstalls modules.ci.uninstall projects." hidden =" true" >
45
- <phingcall target =" setup:toggle-modules" >
46
- <param name =" enable_property" value =" modules.ci.enable" />
47
- <param name =" uninstall_property" value =" modules.ci.uninstall" />
42
+ <property name =" enable_property" value =" modules.ci.enable" />
43
+ <property name =" uninstall_property" value =" modules.ci.uninstall" />
48
44
</phingcall >
49
45
</target >
50
46
</project >
Original file line number Diff line number Diff line change 157
157
</delete >
158
158
</target >
159
159
160
- <target name =" deploy:update" description =" Update current database to reflect the state of the Drupal file system; uses local drush alias." depends = " deploy:toggle-modules " >
160
+ <target name =" deploy:update" description =" Update current database to reflect the state of the Drupal file system; uses local drush alias." >
161
161
<phingcall target =" setup:update" >
162
+ <param name =" enable_property" value =" modules.deploy.enable" />
163
+ <param name =" uninstall_property" value =" modules.deploy.uninstall" />
162
164
<property name =" drush.alias" value =" self" />
163
165
<!-- Most sites store their version-controlled configuration in /config/default. -->
164
166
<!-- ACE internally sets the vcs configuration directory to /config/default, so we use that. -->
165
167
<property name =" cm.core.config-dir" value =" vcs" />
166
168
</phingcall >
167
169
</target >
168
-
169
- <target name =" deploy:toggle-modules" description =" Enables modules.deploy.enable projects and uninstalls modules.deploy.uninstall projects." >
170
- <phingcall target =" setup:toggle-modules" >
171
- <param name =" enable_property" value =" modules.deploy.enable" />
172
- <param name =" uninstall_property" value =" modules.deploy.uninstall" />
173
- </phingcall >
174
- </target >
175
170
</project >
Original file line number Diff line number Diff line change 8
8
9
9
<target name =" local:refresh" description =" Refreshes local environment from upstream testing database." depends =" setup:build, local:sync, local:update" />
10
10
11
- <target name =" local:setup" description =" Install dependencies, builds docroot, installs Drupal; uses local drush alias." depends = " local:toggle-modules " >
11
+ <target name =" local:setup" description =" Install dependencies, builds docroot, installs Drupal; uses local drush alias." >
12
12
<phingcall target =" setup" >
13
13
<property name =" drush.alias" value =" ${drush.aliases.local}" />
14
+ <param name =" enable_property" value =" modules.local.enable" />
15
+ <param name =" uninstall_property" value =" modules.local.uninstall" />
14
16
</phingcall >
15
17
</target >
16
18
30
32
<drush command =" cache-rebuild" />
31
33
</target >
32
34
33
- <target name =" local:toggle-modules" description =" Enables modules.local.enable projects and uninstalls modules.local.uninstall projects." >
34
- <phingcall target =" setup:toggle-modules" >
35
- <param name =" enable_property" value =" modules.local.enable" />
36
- <param name =" uninstall_property" value =" modules.local.uninstall" />
37
- </phingcall >
38
- </target >
39
-
40
35
<target name =" local:update" description =" Update current database to reflect the state of the Drupal file system; uses local drush alias." >
41
36
<phingcall target =" setup:update" >
42
37
<property name =" drush.alias" value =" ${drush.aliases.local}" />
38
+ <property name =" enable_property" value =" modules.local.enable" />
39
+ <property name =" uninstall_property" value =" modules.local.uninstall" />
43
40
</phingcall >
44
- <phingcall target =" local:toggle-modules" />
45
41
</target >
46
42
47
43
</project >
Original file line number Diff line number Diff line change 158
158
159
159
<phingcall target =" setup:config-import" />
160
160
161
+ <!-- enable_property and uninstall_property must be set at this time. -->
162
+ <phingcall target =" setup:update" />
163
+
161
164
<!-- Set sites directory file permissions. -->
162
165
<echo >Making ${docroot}/sites/default writable.</echo >
163
166
<chmod mode =" 0755" failonerror =" false" >
225
228
</target >
226
229
227
230
<target name =" setup:update" description =" Update current database to reflect the state of the Drupal file system." >
231
+
232
+ <!-- enable_property and uninstall_property must be set at this time. -->
233
+ <phingcall target =" setup:toggle-modules" />
234
+
228
235
<!-- Import configuration before executing updates, in case any db updates are dependent on new configs to be imported. -->
229
236
<drush command =" config-import" assume =" yes" alias =" ${drush.alias}" >
230
237
<option name =" partial" ></option >
You can’t perform that action at this time.
0 commit comments