Skip to content

Commit

Permalink
Merge branch '4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 19, 2014
2 parents 39989b7 + d674ab6 commit 9210332
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ build/pdepend
build/phar
build/phpdox
build/*.phar
build/*.phar.asc
tests/TextUI/*.diff
tests/TextUI/*.exp
tests/TextUI/*.log
Expand Down
16 changes: 16 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<delete>
<fileset dir="${basedir}/build">
<include name="**/*.phar" />
<include name="**/*.phar.asc" />
</fileset>
</delete>
</target>
Expand Down Expand Up @@ -152,6 +153,21 @@
<exec executable="phpdox" />
</target>

<target name="signed-phar"
description="Create signed PHAR archive of PHPUnit and all its dependencies (release)"
depends="phar">
<exec executable="bash" outputproperty="version">
<arg value="-c" />
<arg value="${basedir}/phpunit --version | awk 'BEGIN { ORS = &quot;&quot;; } {print $2}'" />
</exec>

<exec executable="gpg" failonerror="true">
<arg value="--armor" />
<arg value="--detach-sign" />
<arg path="${basedir}/build/phpunit-${version}.phar" />
</exec>
</target>

<target name="phar"
description="Create PHAR archive of PHPUnit and all its dependencies (release)"
depends="phar-prepare">
Expand Down

0 comments on commit 9210332

Please sign in to comment.