-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathAppTemplates.xml
More file actions
executable file
·34 lines (26 loc) · 1.14 KB
/
AppTemplates.xml
File metadata and controls
executable file
·34 lines (26 loc) · 1.14 KB
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
<?xml version="1.0" encoding="utf-8"?>
<project name="ColdboxPlatformUtilities.CopyAppTemplates" default="copy" basedir=".">
<description>App Template Copies</description>
<!-- Properties -->
<property name="target.dir" value="src/model/templates" />
<property name="src.dir" value="/Users/lmajano/Sites/cboxdev/core/coldbox/ApplicationTemplates" />
<!-- dynamic values for build -->
<tstamp prefix="start"/>
<target name="clean" description="Remove all directories">
<delete verbose="true">
<fileset dir="${target.dir}" includes="**/*.zip" />
</delete>
</target>
<target name="copy" depends="clean">
<copy todir="${target.dir}">
<fileset dir="${src.dir}" />
</copy>
<zip basedir="${target.dir}/Advanced" destfile="${target.dir}/Advanced.zip" />
<zip basedir="${target.dir}/FlexAirRemote" destfile="${target.dir}/FlexAirRemote.zip" />
<zip basedir="${target.dir}/Simple" destfile="${target.dir}/Simple.zip" />
<zip basedir="${target.dir}/SuperSimple" destfile="${target.dir}/SuperSimple.zip" />
<delete includeemptydirs="true">
<fileset dir="${target.dir}" excludes="**/*.zip" />
</delete>
</target>
</project>