forked from portapps/vscode-portable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
24 lines (18 loc) · 886 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="vscode" basedir=".">
<dirname property="app.basedir" file="${ant.file.vscode}"/>
<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="Adding code.cmd..."/>
<copy file="${res.path}\code.cmd" todir="${build.path}" overwrite="true"/>
</target>
</project>