|
17 | 17 | </exec>
|
18 | 18 | </target>
|
19 | 19 |
|
| 20 | + <target name="update-tools"> |
| 21 | + <exec executable="${basedir}/tools/phive"> |
| 22 | + <arg value="--no-progress"/> |
| 23 | + <arg value="self-update"/> |
| 24 | + </exec> |
| 25 | + |
| 26 | + <exec executable="${basedir}/tools/phive"> |
| 27 | + <arg value="--no-progress"/> |
| 28 | + <arg value="update"/> |
| 29 | + </exec> |
| 30 | + </target> |
| 31 | + |
| 32 | + <target name="generate-global-assert-wrappers" description="Generate global function wrappers for static methods in Assert and TestCase that are commonly used"> |
| 33 | + <exec executable="${basedir}/build/scripts/generate-global-assert-wrappers.php" taskname="generate-global-assert-wrappers" failonerror="true"/> |
| 34 | + <exec executable="${basedir}/tools/php-cs-fixer" taskname="php-cs-fixer" failonerror="true"> |
| 35 | + <arg value="fix"/> |
| 36 | + <arg path="${basedir}/src/Framework/Assert/Functions.php"/> |
| 37 | + </exec> |
| 38 | + </target> |
| 39 | + |
20 | 40 | <target name="signed-phar" depends="phar" description="Create signed PHAR archive of PHPUnit and all its dependencies">
|
21 | 41 | <exec executable="gpg" failonerror="true">
|
22 | 42 | <arg value="--local-user"/>
|
|
381 | 401 | <arg value="tests/end-to-end/phar/phpunit.xml" />
|
382 | 402 | </exec>
|
383 | 403 | </target>
|
384 |
| - |
385 |
| - <target name="update-tools"> |
386 |
| - <exec executable="${basedir}/tools/phive"> |
387 |
| - <arg value="--no-progress"/> |
388 |
| - <arg value="self-update"/> |
389 |
| - </exec> |
390 |
| - |
391 |
| - <exec executable="${basedir}/tools/phive"> |
392 |
| - <arg value="--no-progress"/> |
393 |
| - <arg value="update"/> |
394 |
| - </exec> |
395 |
| - </target> |
396 |
| - |
397 |
| - <target name="generate-global-assert-wrappers" description="Generate global function wrappers for static methods in Assert and TestCase that are commonly used"> |
398 |
| - <exec executable="${basedir}/build/scripts/generate-global-assert-wrappers.php" taskname="generate-global-assert-wrappers" failonerror="true"/> |
399 |
| - <exec executable="${basedir}/tools/php-cs-fixer" taskname="php-cs-fixer" failonerror="true"> |
400 |
| - <arg value="fix"/> |
401 |
| - <arg path="${basedir}/src/Framework/Assert/Functions.php"/> |
402 |
| - </exec> |
403 |
| - </target> |
404 | 404 | </project>
|
405 |
| - |
0 commit comments