Skip to content

Commit

Permalink
updated phing to te latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmannmartin committed Feb 8, 2024
1 parent 5f6fcd9 commit 8a626dd
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@
<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"/>

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

<target name="db-fixtures-performance" depends="production-protection" description="Loads performance data fixtures into main DB." hidden="true">
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
<arg value="${path.php.executable}"/>
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
<arg value="${path.bin-console}"/>
<arg value="shopsys:performance-data"/>
<arg value="--verbose"/>
Expand Down Expand Up @@ -753,7 +753,9 @@
<if>
<not><isset property="environment"/></not>
<then>
<exec command="php ${path.app}/getEnvironment.php" outputProperty="environment"/>
<exec executable="${path.php.executable}" outputProperty="environment">
<arg value="${path.app}/getEnvironment.php"/>
</exec>

<property name="environment" value="${environment}"/>
<echo>Current environment: ${environment}</echo>
Expand Down Expand Up @@ -997,8 +999,8 @@
</target>

<target name="plugin-demo-data-load" description="Loads data fixtures of all registered plugins." hidden="true">
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
<arg value="${path.php.executable}"/>
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
<arg value="${path.bin-console}"/>
<arg value="shopsys:plugin-data-fixtures:load"/>
<arg value="--verbose"/>
Expand Down Expand Up @@ -1134,8 +1136,8 @@
</target>

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

<target name="test-db-fixtures-performance" depends="production-protection" description="Loads performance data fixtures into test DB." hidden="true">
<exec executable="MESSENGER_TRANSPORT_DSN=" passthru="true" checkreturn="true">
<arg value="${path.php.executable}"/>
<exec executable="${path.php.executable}" passthru="true" checkreturn="true">
<env key="MESSENGER_TRANSPORT_DSN" value=""/>
<arg value="${path.bin-console}"/>
<arg value="--env=test"/>
<arg value="shopsys:performance-data"/>
Expand Down

0 comments on commit 8a626dd

Please sign in to comment.