1 <?xml version="1.0" encoding="UTF-8"?>
3 <project name="OpenEMR" description="OpenEMR is a Free and Open Source electronic health records and medical practice management application" default="dist" basedir="." >
5 <property name="dir.src" value="${project.basedir}"/>
6 <property name="dir.vendor" value="${project.basedir}/vendor"/>
7 <property name="dir.assets" value="${project.basedir}/public/assets"/>
9 <target name="vendor-clean">
10 <echo msg="Trying to clean up vendor dir" />
11 <phingcall target="clean-vendor-dir">
15 <target name="assets-clean">
16 <echo msg="Trying to clean up assets dir" />
17 <phingcall target="clean-assets-dir">
22 <target name="clean-vendor-dir">
23 <!-- Delete git files from vendor -->
24 <delete verbose="true">
25 <fileset dir="${dir.vendor}" includes="**/*.git*" defaultexcludes="false"/>
26 <fileset dir="${dir.vendor}" includes="**/*.cvs*" defaultexcludes="false"/>
29 <delete dir="${dir.vendor}/adodb/adodb-php/tests" verbose="true"/>
30 <delete dir="${dir.vendor}/adodb/adodb-php/docs" verbose="true"/>
31 <delete dir="${dir.vendor}/smarty/smarty/demo" verbose="true"/>
32 <delete dir="${dir.vendor}/phpmailer/phpmailer/examples" verbose="true"/>
33 <delete dir="${dir.vendor}/phpmailer/phpmailer/test" verbose="true"/>
34 <delete dir="${dir.vendor}/phpmailer/phpmailer/docs" verbose="true"/>
35 <delete dir="${dir.vendor}/rospdf/pdf-php/examples" verbose="true"/>
39 <target name="clean-assets-dir">
40 <!-- Delete git files from vendor -->
41 <delete verbose="true">
42 <fileset dir="${dir.assets}" includes="**/*.git*" defaultexcludes="false"/>
43 <fileset dir="${dir.assets}" includes="**/*.cvs*" defaultexcludes="false"/>
46 <delete dir="${dir.assets}/AnythingSlider-1-9-4/demos" verbose="true"/>
47 <delete dir="${dir.assets}/bootstrap-rtl-3-3-4/examples" verbose="true"/>
48 <delete dir="${dir.assets}/Chart.js-2-1-3/docs" verbose="true"/>
49 <delete dir="${dir.assets}/Chart.js-2-1-3/samples" verbose="true"/>
50 <delete dir="${dir.assets}/Chart.js-2-1-3/test" verbose="true"/>
51 <delete dir="${dir.assets}/numeral-1-5-3/tests" verbose="true"/>