Server IP : 213.176.29.180  /  Your IP : 3.133.152.151
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/webtaragh/public_html/whmcs/vendor/bitpay/php-client/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/whmcs/vendor/bitpay/php-client/build.xml
<?xml version="1.0" encoding="UTF-8"?>

<project name="bitpay/package" default="build">
    <target name="build" depends="lint,phpunit,phpcs" />

    <target name="lint" description="Check the syntax of PHP files">
        <mkdir dir="${project.basedir}/build/cache" />
        <phplint cachefile="${project.basedir}/build/cache/phplint.cache">
            <fileset dir="${project.basedir}/src">
                <include name="**/*.php" />
            </fileset>
        </phplint>
    </target>

    <target name="phpunit">
        <delete dir="${project.basedir}/build/docs/code-coverage" />
        <mkdir dir="${project.basedir}/build/docs/code-coverage" />
        <exec executable="${project.basedir}/bin/phpunit" passthru="true">
            <arg value="-c" />
            <arg path="${project.basedir}/build" />
        </exec>
    </target>

    <target name="phpcs">
        <exec command="${project.basedir}/bin/phpcs ./src --standard=PSR1,PSR2 -n" passthru="true">
        </exec>
    </target>

    <target name="build:docs" description="Build user documentation">
        <exec executable="make" passthru="true" dir="${project.basedir}/docs">
            <arg value="html" />
        </exec>
    </target>
</project>