Skip to content

Commit 8a626dd

Browse files
updated phing to te latest version
1 parent 5f6fcd9 commit 8a626dd

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

build.xml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@
332332
<target name="db-demo" depends="production-protection,frontend-api-generate-new-keys,db-wipe-public-schema,clean,clean-redis,db-import-basic-structure,db-migrations,domains-data-create,db-fixtures-demo,plugin-demo-data-load,friendly-urls-generate,friendly-url-entity-mapping-check,domains-urls-replace" description="Creates DB and fills it with demo data" hidden="true"/>
333333

334334
<target name="db-fixtures-demo" depends="production-protection" description="Loads demo data fixtures." hidden="true">
335-
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
336-
<arg value="${path.php.executable}"/>
335+
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
336+
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
337337
<arg value="${path.bin-console}"/>
338338
<arg value="doctrine:fixtures:load"/>
339339
<arg value="--append"/>
@@ -348,8 +348,8 @@
348348
</target>
349349

350350
<target name="db-fixtures-performance" depends="production-protection" description="Loads performance data fixtures into main DB." hidden="true">
351-
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
352-
<arg value="${path.php.executable}"/>
351+
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
352+
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
353353
<arg value="${path.bin-console}"/>
354354
<arg value="shopsys:performance-data"/>
355355
<arg value="--verbose"/>
@@ -753,7 +753,9 @@
753753
<if>
754754
<not><isset property="environment"/></not>
755755
<then>
756-
<exec command="php ${path.app}/getEnvironment.php" outputProperty="environment"/>
756+
<exec executable="${path.php.executable}" outputProperty="environment">
757+
<arg value="${path.app}/getEnvironment.php"/>
758+
</exec>
757759

758760
<property name="environment" value="${environment}"/>
759761
<echo>Current environment: ${environment}</echo>
@@ -997,8 +999,8 @@
997999
</target>
9981000

9991001
<target name="plugin-demo-data-load" description="Loads data fixtures of all registered plugins." hidden="true">
1000-
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
1001-
<arg value="${path.php.executable}"/>
1002+
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
1003+
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
10021004
<arg value="${path.bin-console}"/>
10031005
<arg value="shopsys:plugin-data-fixtures:load"/>
10041006
<arg value="--verbose"/>
@@ -1134,8 +1136,8 @@
11341136
</target>
11351137

11361138
<target name="test-db-fixtures-demo" depends="production-protection" description="Loads demo data fixtures into test DB." hidden="true">
1137-
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
1138-
<arg value="${path.php.executable}"/>
1139+
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
1140+
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
11391141
<arg value="${path.bin-console}"/>
11401142
<arg value="--env=test"/>
11411143
<arg value="doctrine:fixtures:load"/>
@@ -1152,8 +1154,8 @@
11521154
</target>
11531155

11541156
<target name="test-db-fixtures-performance" depends="production-protection" description="Loads performance data fixtures into test DB." hidden="true">
1155-
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
1156-
<arg value="${path.php.executable}"/>
1157+
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
1158+
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
11571159
<arg value="${path.bin-console}"/>
11581160
<arg value="--env=test"/>
11591161
<arg value="shopsys:performance-data"/>

0 commit comments

Comments
 (0)