File: build.xml

package info (click to toggle)
php-phpseclib 2.0.30-2%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,784 kB
  • sloc: php: 11,331; sh: 73; xml: 49; makefile: 18
file content (25 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<project name="phpseclib"
         description="PHP Secure Communications Library"
         default="all"
>

  <target name="all" depends="sniff" />

  <!-- Code Sniffer -->
  <target name="sniff" depends="sniff-php-code,sniff-php-tests" />
  <target name="sniff-php-code">
    <exec command="vendor/bin/phpcs -s
        --extensions=php
        --standard=build/code-sniffer-ruleset.xml
        phpseclib/"
      dir=".." checkreturn="true" passthru="true" />
  </target>
  <target name="sniff-php-tests">
    <exec command="vendor/bin/phpcs -s
        --extensions=php
        --standard=build/code-sniffer-ruleset-tests.xml
        tests/"
      dir=".." checkreturn="true" passthru="true" />
  </target>
</project>