代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/boxbilling 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?xml version="1.0"?>
<project name="BoxBilling" default="build" basedir=".">
<property environment="env" />
<property name="build.dir" value="${basedir}/build" />
<property name="dist.dir" value="${build.dir}/distribution" />
<property name="documentation" value="${build.dir}/documentation" />
<property name="source" value="${build.dir}/source" />
<fileset id="shared-artifacts" dir=".">
<include name="LICENSE"/>
<include name="README.md"/>
<include name="CHANGELOG.md"/>
</fileset>
<fileset id="api-sources" dir="src" followsymlinks="false">
<include name="bb-data/log"/>
<include name="bb-data/cache"/>
<include name="bb-data/uploads"/>
<include name="bb-data/index.html"/>
<include name="bb-data/.htaccess"/>
<exclude name="bb-data/log/*"/>
<exclude name="bb-data/cache/*"/>
<exclude name="bb-data/uploads/*"/>
<include name="bb-vendor/**"/>
<include name="bb-library/**"/>
<include name="bb-modules/**"/>
<include name="bb-locale/**"/>
<include name="bb-themes/**"/>
<include name="bb-uploads/**"/>
<include name="install/**"/>
<include name="bb-config-sample.php"/>
<include name="bb-cron.php"/>
<include name="bb-di.php"/>
<include name="bb-ipn.php"/>
<include name="bb-load.php"/>
<include name="bb-update.php"/>
<include name="rb.php"/>
<include name="index.php"/>
<include name="robots.txt"/>
<include name="htaccess.txt"/>
<exclude name="bb-library/Server/Manager/Directadmin.php"/>
<exclude name="bb-library/Server/Manager/Ispconfig3.php"/>
<exclude name="bb-library/Server/Manager/Plesk.php"/>
<exclude name="bb-library/Server/Manager/MOFH.php"/>
<exclude name="bb-library/Server/Manager/Virtualmin.php"/>
<exclude name="bb-library/Registrar/includes/**"/>
</fileset>
<target name="clean" description="Clean up and create artifact directories">
<delete dir="src/bb-data/cache"/>
<mkdir dir="src/bb-data/cache"/>
<delete dir="${build.dir}"/>
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.dir}/code-browser"/>
<mkdir dir="${build.dir}/coverage"/>
<mkdir dir="${build.dir}/logs"/>
<mkdir dir="${build.dir}/pdepend"/>
<mkdir dir="${build.dir}/update"/>
<mkdir dir="${dist.dir}"/>
<mkdir dir="${source}"/>
</target>
<target name="clean-vendors" description="Clean up bb-vendors dir for dev dependencies">
<delete dir="src/bb-vendor"/>
<mkdir dir="src/bb-vendor"/>
</target>
<target name="composer" description="Update composer dependencies" depends="clean-vendors">
<exec executable="composer" failonerror="true">
<arg line="install --working-dir=src --no-dev --optimize-autoloader --prefer-dist" />
</exec>
</target>
<target name="composer-dev" description="Update composer dependencies">
<exec executable="composer" failonerror="true">
<arg line="install --working-dir=src --optimize-autoloader --prefer-dist" />
</exec>
</target>
<target name="config" description="Create config file">
<copy file="src/bb-config-sample.php" tofile="src/bb-config.php" overwrite="true"/>
</target>
<target name="test-unit">
<exec executable="src/bb-vendor/bin/phpunit" failonerror="true">
<arg line="tests/bb-library/" />
</exec>
<exec executable="src/bb-vendor/bin/phpunit" failonerror="true">
<arg line="tests/bb-modules/" />
</exec>
</target>
<target name="test-integration">
<exec executable="php" dir="bin" failonerror="true">
<arg line="prepare.php" />
</exec>
<exec executable="src/bb-vendor/bin/phpunit" failonerror="true">
<arg line="--group Core tests/integration/" />
</exec>
</target>
<target name="test-modules">
<exec executable="src/bb-vendor/bin/phpunit" failonerror="true">
<arg line="src/bb-modules/" />
</exec>
</target>
<target name="build-api" depends="clean">
<copy todir="${source}">
<fileset refid="shared-artifacts"/>
</copy>
<copy todir="${source}">
<fileset refid="api-sources"/>
</copy>
<property environment="env"/>
<echo message="Release TAG: ${env.TRAVIS_TAG}" />
<exec executable="sed" failonerror="true" output="${source}/bb-library/Box/Version2.php">
<arg line="s/0.0.1/${env.TRAVIS_TAG}/ ${source}/bb-library/Box/Version.php" />
</exec>
<exec executable="mv" failonerror="true">
<arg line="${source}/bb-library/Box/Version2.php ${source}/bb-library/Box/Version.php" />
</exec>
</target>
<target name="package">
<zip destfile="${dist.dir}/${ant.project.name}.zip" basedir="${source}" />
</target>
<target name="test" depends="clean, composer-dev, test-unit, test-integration, test-modules"/>
<target name="release" depends="clean, composer, build-api, package" />
<target name="build" depends="config, test"/>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。