This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Commit b296158 1 parent f9262a3 commit b296158 Copy full SHA for b296158
File tree 3 files changed +13
-17
lines changed
3 files changed +13
-17
lines changed 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}" />
43
38
</phingcall >
44
- <phingcall target =" local:toggle-modules" />
45
39
</target >
46
40
47
41
</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