forked from portapps/ungoogled-chromium-portable
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.xml
28 lines (23 loc) · 1.22 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="supermium" basedir=".">
<dirname property="app.basedir" file="${ant.file.supermium}"/>
<property name="build.properties" value="${app.basedir}/build.properties"/>
<property file="${build.properties}"/>
<!-- Load Portapps core build -->
<property name="core.basedir" location="${app.basedir}\${core.dir}"/>
<fail unless="core.basedir" message="Core directory '${core.basedir}' not found in ${core.basedir}"/>
<echo message="Core found in ${core.basedir}" level="debug"/>
<!-- Import build-app.xml -->
<import file="${core.basedir}\.build\build-app.xml"/>
<!-- Targets -->
<target name="release" depends="release.app" description="Release"/>
<target name="prepare">
<echo message="Preparing release..."/>
<move todir="${extract.path}">
<fileset dir="${extract.path}\Supermium" defaultexcludes="no"/>
</move>
</target>
<copy file="${app.basedir}\Supermium-portable-Classic.cmd" todir="${build.path}" overwrite="true"/>
<copy file="${app.basedir}\Supermium-portable-ClassicUngoogled.cmd" todir="${build.path}" overwrite="true"/>
<copy file="${app.basedir}\Supermium-portable-Ungoogled.cmd" todir="${build.path}" overwrite="true"/>
</project>