PHP Classes

File: build.xml

Recommend this page to a friend!
  Classes of jawira  >  PHP Doctrine UML Diagram Bundle  >  build.xml  >  Download  
File: build.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Doctrine UML Diagram Bundle
Show a UML diagram from a database using Doctrine
Author: By
Last change:
Date: 2 months ago
Size: 1,715 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?>

<project name="Doctrine Diagram Bundle" default="help" phingVersion="3">
  <description>Create diagrams from your doctrine database</description>

  <target name="setup" depends="composer:install"/>
  <target name="qa" depends="composer:validate,composer:normalize,phpstan:analyse"/>

  <target name="phpstan:analyse" description="Analyse source code">
    <exec executable="vendor/bin/phpstan" passthru="true" checkreturn="true">
      <arg value="analyse"/>
      <arg value="--no-progress"/>
      <arg value="--ansi"/>
      <arg value="--level=max"/>
      <arg path="src"/>
    </exec>
  </target>

  <target name="composer:install" description="PHP dependencies">
    <composer command="install">
      <arg value="--no-interaction"/>
      <arg value="--prefer-dist"/>
      <arg value="--no-progress"/>
      <arg value="--ansi"/>
    </composer>
  </target>

  <target name="composer:validate" description="Validate composer.json">
    <composer command="validate">
      <arg value="--ansi"/>
    </composer>
  </target>

  <target name="composer:normalize" description="Normalize composer.json">
    <composer command="normalize">
      <arg value="--ansi"/>
      <arg value="--diff"/>
      <arg value="--indent-size=2"/>
      <arg value="--indent-style=space"/>
    </composer>
  </target>

  <target name="help">
    <uptodate property="uptodate.visualizer" srcfile="build.xml" targetfile="docs/build.svg"/>
    <runtarget target="visualizer"/>
    <open path="doc/build.svg"/>
  </target>

  <target name="visualizer" unless="uptodate.visualizer" description="Create buildfile map">
    <visualizer format="svg" destination="docs"/>
  </target>

</project>
For more information send a message to info at phpclasses dot org.