|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project name="module-gitlist" basedir="."> |
3 | | - |
| 3 | + |
4 | 4 | <dirname property="project.basedir" file="${ant.file.module-gitlist}"/> |
5 | 5 | <property name="root.dir" location="${project.basedir}/.."/> |
6 | 6 | <property name="build.properties" value="${project.basedir}/build.properties"/> |
7 | 7 | <property file="${build.properties}"/> |
8 | | - |
| 8 | + |
9 | 9 | <!-- Neard dev --> |
10 | 10 | <property name="dev.path" location="${root.dir}/dev"/> |
11 | 11 | <fail unless="dev.path" message="Project 'dev' not found in ${dev.path}"/> |
12 | | - <echo message="Neard dev found in ${dev.path}" level="debug"/> |
13 | | - |
| 12 | + <echo message="Neard dev found in ${dev.path}" level="debug"/> |
| 13 | + |
14 | 14 | <!-- Import build-commons.xml --> |
15 | 15 | <import file="${dev.path}/build/build-commons.xml"/> |
16 | 16 | <!-- Import build-bundle.xml --> |
17 | 17 | <import file="${dev.path}/build/build-bundle.xml"/> |
18 | | - |
| 18 | + |
19 | 19 | <target name="release.build"> |
20 | 20 | <basename property="bundle.folder" file="${bundle.path}"/> |
21 | 21 | <replaceproperty src="bundle.folder" dest="bundle.version" replace="${bundle.name}" with=""/> |
22 | | - |
| 22 | + |
23 | 23 | <getmoduleuntouched name="${bundle.name}" version="${bundle.version}" propSrcDest="bundle.srcdest" propSrcFilename="bundle.srcfilename"/> |
24 | | - <assertfile file="${bundle.srcdest}/gitlist/index.php"/> |
25 | | - |
| 24 | + <assertfile file="${bundle.srcdest}/public/index.php"/> |
| 25 | + |
26 | 26 | <delete dir="${bundle.tmp.prep.path}/${bundle.folder}"/> |
27 | 27 | <mkdir dir="${bundle.tmp.prep.path}/${bundle.folder}"/> |
28 | 28 | <copy todir="${bundle.tmp.prep.path}/${bundle.folder}" overwrite="true"> |
29 | | - <fileset dir="${bundle.srcdest}/gitlist"/> |
| 29 | + <fileset dir="${bundle.srcdest}"/> |
30 | 30 | </copy> |
31 | 31 | <copy todir="${bundle.tmp.prep.path}/${bundle.folder}" overwrite="true"> |
32 | 32 | <fileset dir="${bundle.path}" defaultexcludes="yes"/> |
33 | 33 | </copy> |
34 | 34 | </target> |
35 | | - |
| 35 | + |
36 | 36 | </project> |
0 commit comments