Skip to content

Commit

Permalink
Also generate compressed PHAR.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 6, 2012
1 parent 64afdd0 commit 05a7a09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -5,7 +5,7 @@ build/logs
build/pdepend
build/phar
build/phpdox
build/phpunit.phar
build/*.phar
Tests/TextUI/*.diff
Tests/TextUI/*.exp
Tests/TextUI/*.log
Expand Down
11 changes: 11 additions & 0 deletions build.xml
Expand Up @@ -178,6 +178,17 @@
</exec>

<chmod file="${basedir}/build/phpunit.phar" perm="ugo+rx"/>

<copy file="${basedir}/build/phpunit.phar" tofile="${basedir}/build/phpunit-compressed.phar"/>
<chmod file="${basedir}/build/phpunit-compressed.phar" perm="ugo+rx"/>

<exec executable="phar">
<arg value="compress" />
<arg value="-f" />
<arg path="${basedir}/build/phpunit-compressed.phar" />
<arg value="-c" />
<arg value="bzip2" />
</exec>
</target>

<target name="phar-download">
Expand Down

0 comments on commit 05a7a09

Please sign in to comment.