forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
82 lines (65 loc) · 3.66 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="UTF-8"?>
<project name="OpenEMR" description="OpenEMR is a Free and Open Source electronic health records and medical practice management application" default="dist" basedir="." >
<property name="dir.src" value="${project.basedir}"/>
<property name="dir.vendor" value="${project.basedir}/vendor"/>
<property name="dir.assets" value="${project.basedir}/public/assets"/>
<target name="vendor-clean">
<echo msg="Trying to clean up vendor dir" />
<phingcall target="clean-vendor-dir">
</phingcall>
</target>
<target name="assets-clean">
<echo msg="Trying to clean up assets dir" />
<phingcall target="clean-assets-dir">
</phingcall>
</target>
<target name="clean-vendor-dir">
<!-- Delete git files from vendor -->
<delete verbose="true">
<fileset dir="${dir.vendor}" includes="**/*.git*" defaultexcludes="false"/>
<fileset dir="${dir.vendor}" includes="**/*.cvs*" defaultexcludes="false"/>
</delete>
<delete dir="${dir.vendor}/adodb/adodb-php/tests" verbose="true"/>
<delete dir="${dir.vendor}/adodb/adodb-php/docs" verbose="true"/>
<delete dir="${dir.vendor}/smarty/smarty/demo" verbose="true"/>
<delete dir="${dir.vendor}/phpmailer/phpmailer/examples" verbose="true"/>
<delete dir="${dir.vendor}/phpmailer/phpmailer/test" verbose="true"/>
<delete dir="${dir.vendor}/phpmailer/phpmailer/docs" verbose="true"/>
<delete dir="${dir.vendor}/psr/log/Psr/Log/Test" verbose="true"/>
<delete dir="${dir.vendor}/rospdf/pdf-php/examples" verbose="true"/>
<delete dir="${dir.vendor}/dompdf/dompdf/wwww" verbose="true"/>
<delete dir="${dir.vendor}/doctrine/cache/tests" verbose="true"/>
<delete dir="${dir.vendor}/doctrine/collections/tests" verbose="true"/>
<delete dir="${dir.vendor}/doctrine/common/tests" verbose="true"/>
<delete dir="${dir.vendor}/doctrine/couchdb/tests" verbose="true"/>
<delete dir="${dir.vendor}/doctrine/inflector/tests" verbose="true"/>
<delete dir="${dir.vendor}/doctrine/instantiator/tests" verbose="true"/>
<delete dir="${dir.vendor}/doctrine/orm/docs" verbose="true"/>
<delete dir="${dir.vendor}/symfony/console/Tester" verbose="true"/>
<delete dir="${dir.vendor}/symfony/console/Tests" verbose="true"/>
<delete dir="${dir.vendor}/symfony/debug/Resources/ext/tests" verbose="true"/>
<delete dir="${dir.vendor}/symfony/debug/Tests" verbose="true"/>
<delete dir="${dir.vendor}/zendframework/zendxml/tests" verbose="true"/>
<delete dir="${dir.vendor}/illuminate/support/Testing" verbose="true"/>
</target>
<target name="clean-assets-dir">
<!-- Delete git files from vendor -->
<delete verbose="true">
<fileset dir="${dir.assets}" includes="**/*.git*" defaultexcludes="false"/>
<fileset dir="${dir.assets}" includes="**/*.cvs*" defaultexcludes="false"/>
</delete>
<delete dir="${dir.assets}/AnythingSlider-1-9-4/demos" verbose="true"/>
<delete dir="${dir.assets}/bootstrap-rtl-3-3-4/examples" verbose="true"/>
<delete dir="${dir.assets}/Chart.js-2-1-3/docs" verbose="true"/>
<delete dir="${dir.assets}/Chart.js-2-1-3/samples" verbose="true"/>
<delete dir="${dir.assets}/Chart.js-2-1-3/test" verbose="true"/>
<delete dir="${dir.assets}/jquery-datetimepicker-2-5-4/tests" verbose="true"/>
<delete dir="${dir.assets}/numeral-1-5-3/tests" verbose="true"/>
<delete dir="${dir.assets}/summernote-0-8-2/examples" verbose="true"/>
<delete dir="${dir.assets}/summernote-0-8-2/lang" verbose="true"/>
<delete dir="${dir.assets}/summernote-0-8-2/meteor" verbose="true"/>
<delete dir="${dir.assets}/summernote-0-8-2/plugin" verbose="true"/>
<delete dir="${dir.assets}/summernote-0-8-2/src" verbose="true"/>
<delete dir="${dir.assets}/summernote-0-8-2/tools" verbose="true"/>
</target>
</project>