Skip to content

Commit

Permalink
Fixed Phar build for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 1, 2022
1 parent 5a51f40 commit 7eee003
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,12 @@

<target name="box-prod">
<echo message="Creating the .phar file" />
<exec escape="false" dir="contao-manager-${version}" command="curl -LSs https://github.com/box-project/box/releases/download/3.11.1/box.phar > box.phar" />
<exec executable="php" dir="contao-manager-${version}/tools/phing" checkreturn="true">
<arg value="../../composer.phar" />
<arg value="install" />
</exec>
<exec executable="php" dir="contao-manager-${version}" checkreturn="true">
<arg value="box.phar" />
<arg value="tools/phing/vendor/bin/box" />
<arg value="compile" />
</exec>
</target>
Expand Down

0 comments on commit 7eee003

Please sign in to comment.