Private GIT

Skip to content
Snippets Groups Projects
Select Git revision
  • ee2fde182a4574f84c4be3b89e255a99e1bb6fcc
  • master default protected
  • MON-2693-new-menu
  • php7-migration
  • poc-redis
  • security-fix-virtual-metrics-sql
  • security-fix-reporting
  • security-fix-menu-username
  • security-fix-export-graph
  • security-fix-metrics-injection
  • security-fix-virtual-metrics
  • security-fix-curves-templates
  • security-fix-command-form
  • security-fix-administration-logs
  • clapi_filter
  • MON2733-C2_Security_fix
  • new-header-2.8.x
  • MON-2725-ldap-passwords
  • 2.8.x
  • 6073-fix-view-contact-notifications
  • MON2703-new-api-menu
  • 2.8.23
  • 2.8.22
  • 2.8.21
  • 2.8.20
  • 2.8.19
  • 2.8.18
  • 2.8.17
  • 2.8.216
  • 2.8.16
  • 2.7.13
  • 2.8.15
  • help
  • 2.8.14
  • 2.8.13
  • 2.8.12
  • 2.7.12
  • 2.8.11
  • 2.8.10
  • 2.8.10-release
  • 2.8.9
41 results

build.xml

Blame
  • build.xml 1.59 KiB
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="centreon-web" basedir="." default="main">
      <property name="builddir" value="./build"/>
    
      <target name="prepare">
        <mkdir dir="${builddir}"/>
        <mkdir dir="${builddir}/coverage"/>
      </target>
    
      <!--
      <target name="unittest" depends="prepare">
        <coverage-setup database="${builddir}/coverage.db">
          <fileset dir="www/modules/centreon-pp-manager/core">
            <include name="**/*.php"/>
          </fileset>
          <fileset dir="www/modules/centreon-pp-manager/webServices">
            <include name="**/*.php"/>
          </fileset>
        </coverage-setup>
        <phpunit bootstrap="tests/php/bootstrap.php" codecoverage="true">
          <formatter type="plain" usefile="false"/>
          <formatter type="xml" outfile="${builddir}/phpunit.xml"/>
          <formatter type="clover" outfile="${builddir}/coverage.xml"/>
          <batchtest>
            <fileset dir="tests/php/class/">
              <include name="**/*Test.php" />
            </fileset>
          </batchtest>
        </phpunit>
      </target>
      -->
    
      <target name="codestyle" depends="prepare">
        <phpcodesniffer standard="codingstyle.xml">
          <formatter type="checkstyle" outfile="${builddir}/checkstyle.xml"/>
          <fileset dir="features">
            <include name="**/*.php"/>
          </fileset>
          <fileset dir="tests">
            <include name="**/*.php"/>
          </fileset>
          <fileset dir="www">
            <include name="**/*.php"/>
            <exclude name="lib/HTML/QuickForm.php"/>
            <exclude name="lib/HTML/QuickForm/**/*.php"/>
          </fileset>
        </phpcodesniffer>
      </target>
    
      <target name="main"></target>
    </project>