forked from graredcr/insertbyid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phing_build_example.xml
executable file
·34 lines (31 loc) · 1.71 KB
/
phing_build_example.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Rename this file to "build.xml" for use with PHING. Please do not commit your version
to GitHub since the property settings below will be specific to your dev environmcent !
-->
<project name="mod_insertarticle" basedir="." default="build_install_zip">
<property name="artifact.name" value="mod_insertarticle" />
<property name="joomla.root" value="C:\Development\WorkPHP\www\plusconscient25_dev" />
<property name="src" value="${joomla.root}\modules\${artifact.name}" />
<property name="install.zip.file.dest" value="C:\Development\WorkPHP\www\plusconscient15_int\attachments" override="true" />
<property name="version">v1.8_j2.5_3.0</property>
<fileset dir="${src}" id="allfiles">
<include name="${artifact.name}.php" />
<include name="${artifact.name}.xml" />
<include name="helper.php" />
<include name="index.html" />
<include name="fields/*" />
<include name="img/*" />
<include name="tmpl/*" />
<include name="en-GB.${artifact.name}.ini" />
<include name="es-ES.${artifact.name}.ini" />
<include name="fr-FR.${artifact.name}.ini" />
</fileset>
<!-- Copy Target -->
<target name="build_install_zip" description="build the install zip">
<delete file="${install.zip.file.dest}/${artifact.name}_${version}.zip" />
<zip destfile="${install.zip.file.dest}/${artifact.name}_${version}.zip">
<fileset refid="allfiles" />
</zip>
</target>
</project>