| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/api.pacim.de/web/build/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<project name="fusio" default="build" basedir=".">
<description>Fusio build script</description>
<condition property="properties-file" value="build-win" else="build-default">
<os family="windows" />
</condition>
<property file="${properties-file}.properties" />
<!-- ############################# INSTALL ############################# -->
<!-- delete git dir -->
<target name="delete-git-dir">
<delete dir="${build}" />
</target>
<!-- clone the repository -->
<target name="git-clone">
<exec executable="${git}" failonerror="true">
<arg line="clone https://github.com/apioo/fusio.git ${build}" />
</exec>
</target>
<!-- composer install -->
<target name="composer-install">
<exec dir="${build}" executable="${composer}" failonerror="true">
<arg line="install" />
</exec>
</target>
<!-- after this target we have a system with all dependencies installed -->
<target name="init" depends="delete-git-dir,git-clone,composer-install" />
<!-- ############################## TESTS ############################## -->
<!-- syntax check of all files -->
<target name="syntax-check">
<exec executable="${shell}" failonerror="true">
<arg line="${check-syntax}" />
</exec>
</target>
<!-- run phpunit tests -->
<target name="phpunit">
<exec dir="${build}" executable="${phpunit}" failonerror="true" />
</target>
<!-- this target runs all tests -->
<target name="test" depends="init,phpunit" />
<!-- ############################## CLEAN ############################## -->
<!-- removes all files wich are not needed in the release -->
<target name="remove-files">
<delete dir="${build}/.git" />
<delete dir="${build}/build" />
<delete dir="${build}/doc" />
<delete file="${build}/.travis.yml" />
<delete includeemptydirs="true">
<fileset dir="${build}/cache" includes="**/*" />
</delete>
</target>
<!-- clean build -->
<target name="clean" depends="remove-files" />
<!-- ############################## BUILD ############################## -->
<!-- returns the current version -->
<target name="get-version">
<exec executable="${php}" failonerror="true" outputproperty="version">
<arg line="get-version.php" />
</exec>
<echo message="Building version ${version}" />
</target>
<!-- creates the archive -->
<target name="create-archive" depends="get-version">
<tar destfile="fusio_${version}.tar" basedir="${build}" />
<gzip destfile="fusio_${version}.tar.gz" src="fusio_${version}.tar" />
<delete file="fusio_${version}.tar" />
<zip destfile="fusio_${version}.zip" basedir="${build}" />
</target>
<!-- builds the archive -->
<target name="build" depends="test,clean,create-archive" />
</project>