mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
31 lines
932 B
XML
31 lines
932 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project name="Meritoo Package" basedir="." default="build:main" phingVersion="2.14.0">
|
|
<!-- Properties -->
|
|
<if>
|
|
<available file="${project.basedir}/phing/properties" property="custom.properties.available"/>
|
|
<then>
|
|
<property file="${project.basedir}/phing/properties"/>
|
|
</then>
|
|
<else>
|
|
<property file="${project.basedir}/phing/properties.dist"/>
|
|
</else>
|
|
</if>
|
|
|
|
<!-- Default / main target -->
|
|
<target name="build:main"
|
|
depends="build:app,
|
|
build:tests"
|
|
/>
|
|
|
|
<!-- Build app -->
|
|
<target name="build:app">
|
|
<phing phingfile="${project.basedir}/phing/app.xml" haltonfailure="true"/>
|
|
</target>
|
|
|
|
<!-- Build tests -->
|
|
<target name="build:tests">
|
|
<phing phingfile="${project.basedir}/phing/tests.xml" haltonfailure="true"/>
|
|
</target>
|
|
</project>
|