updated ci and insane dev env for php 8.2 and nodejs 16 (#4778)
[openemr.git] / build.xml
blob092d00dabf9aa63e27607f34ab063e6734f2c704
1 <?xml version="1.0" encoding="UTF-8"?>
3 <project name="OpenEMR"
4          description="OpenEMR is a Free and Open Source electronic health records and medical practice management application"
5          default="dist" basedir=".">
7     <property name="dir.src" value="${project.basedir}"/>
8     <property name="dir.vendor" value="${project.basedir}/vendor"/>
9     <property name="dir.assets" value="${project.basedir}/public/assets"/>
11     <target name="vendor-clean">
12         <echo msg="Trying to clean up vendor dir"/>
13         <phingcall target="clean-vendor-dir">
14         </phingcall>
15     </target>
17     <target name="assets-clean">
18         <echo msg="Trying to clean up assets dir"/>
19         <phingcall target="clean-assets-dir">
20         </phingcall>
21     </target>
24     <target name="clean-vendor-dir">
25         <!-- Delete git files from vendor  -->
26         <delete verbose="true">
27             <fileset dir="${dir.vendor}" includes="**/*.git*" defaultexcludes="false"/>
28             <fileset dir="${dir.vendor}" includes="**/*.cvs*" defaultexcludes="false"/>
29         </delete>
31         <delete dir="${dir.vendor}/adldap2/adldap2/docs" verbose="true"/>
32         <delete dir="${dir.vendor}/adodb/adodb-php/tests" verbose="true"/>
33         <delete dir="${dir.vendor}/adodb/adodb-php/docs" verbose="true"/>
34         <delete dir="${dir.vendor}/container-interop/container-interop/docs" verbose="true"/>
35         <delete dir="${dir.vendor}/ezyang/htmlpurifier/test" verbose="true"/>
36         <delete dir="${dir.vendor}/ezyang/htmlpurifier/maintenance" verbose="true"/>
37         <delete dir="${dir.vendor}/ezyang/htmlpurifier/plugins" verbose="true"/>
38         <delete dir="${dir.vendor}/illuminate/support/Testing" verbose="true"/>
39         <delete dir="${dir.vendor}/knplabs/knp-snappy/doc" verbose="true"/>
40         <delete dir="${dir.vendor}/markbaker/complex/examples" verbose="true"/>
41         <delete dir="${dir.vendor}/mobiledetect/mobiledetectlib/docs" verbose="true"/>
42         <delete dir="${dir.vendor}/myclabs/deep-copy/doc" verbose="true"/>
43         <delete dir="${dir.vendor}/phenx/php-font-lib/tests" verbose="true"/>
44         <delete dir="${dir.vendor}/phenx/php-svg-lib/tests" verbose="true"/>
45         <delete dir="${dir.vendor}/phpoffice/phpspreadsheet/docs" verbose="true"/>
46         <delete dir="${dir.vendor}/phpoffice/phpspreadsheet/samples" verbose="true"/>
47         <delete dir="${dir.vendor}/phpunit/php-code-coverage/tests" verbose="true"/>
48         <delete dir="${dir.vendor}/phpunit/php-timer/tests" verbose="true"/>
49         <delete dir="${dir.vendor}/phpunit/php-token-stream/tests" verbose="true"/>
50         <delete dir="${dir.vendor}/phpunit/tests" verbose="true"/>
51         <delete dir="${dir.vendor}/phpunit/phpunit-mock-objects/tests" verbose="true"/>
52         <delete dir="${dir.vendor}/rospdf/pdf-php/examples" verbose="true"/>
53         <delete dir="${dir.vendor}/rospdf/pdf-php/tests" verbose="true"/>
54         <delete dir="${dir.vendor}/sabberworm/php-css-parser/tests" verbose="true"/>
55         <delete dir="${dir.vendor}/sebastian/code-unit-reverse-lookup/tests" verbose="true"/>
56         <delete dir="${dir.vendor}/sebastian/comparator/tests" verbose="true"/>
57         <delete dir="${dir.vendor}/sebastian/diff/tests" verbose="true"/>
58         <delete dir="${dir.vendor}/sebastian/environment/tests" verbose="true"/>
59         <delete dir="${dir.vendor}/sebastian/exporter/tests" verbose="true"/>
60         <delete dir="${dir.vendor}/sebastian/global-state/tests" verbose="true"/>
61         <delete dir="${dir.vendor}/sebastian/object-enumerator/tests" verbose="true"/>
62         <delete dir="${dir.vendor}/sebastian/recursion-context/tests" verbose="true"/>
63         <delete dir="${dir.vendor}/smarty/smarty/demo" verbose="true"/>
64         <delete dir="${dir.vendor}/symfony/config/Tests" verbose="true"/>
65         <delete dir="${dir.vendor}/symfony/console/Tester" verbose="true"/>
66         <delete dir="${dir.vendor}/symfony/console/Tests" verbose="true"/>
67         <delete dir="${dir.vendor}/symfony/debug/Resources/ext/tests" verbose="true"/>
68         <delete dir="${dir.vendor}/symfony/debug/Tests" verbose="true"/>
69         <delete dir="${dir.vendor}/symfony/dependency-injection/Tests" verbose="true"/>
70         <delete dir="${dir.vendor}/symfony/event-dispatcher/Tests" verbose="true"/>
71         <delete dir="${dir.vendor}/symfony/filesystem/Tests" verbose="true"/>
72         <delete dir="${dir.vendor}/symfony/http-foundation/Tests" verbose="true"/>
73         <delete dir="${dir.vendor}/symfony/process/Tests" verbose="true"/>
74         <delete dir="${dir.vendor}/symfony/translation/Tests" verbose="true"/>
75         <delete dir="${dir.vendor}/symfony/yaml/Tests" verbose="true"/>
76         <delete dir="${dir.vendor}/twig/twig/doc" verbose="true"/>
77         <delete dir="${dir.vendor}/twig/twig/test" verbose="true"/>
78         <delete dir="${dir.vendor}/yubico/u2flib-server/examples" verbose="true"/>
79         <delete dir="${dir.vendor}/yubico/u2flib-server/tests" verbose="true"/>
80     </target>
83     <target name="clean-assets-dir">
84         <delete dir="${dir.assets}/flot/examples" verbose="true"/>
85         <delete dir="${dir.assets}/jquery-datetimepicker/tests" verbose="true"/>
86         <delete dir="${dir.assets}/numeral/tests" verbose="true"/>
87     </target>
90 </project>