Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Sep 3, 2019. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 515
Expand file tree
/
Copy pathbuild.xml
More file actions
Latest commit
56 lines (48 loc) · 2.29 KB
/
Copy pathbuild.xml
File metadata and controls
56 lines (48 loc) · 2.29 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<projectname="Scratch for latest Flash Player"default="all">
<!-- load LOCAL configuration properties file -->
<propertyfile="local.properties" />
<!-- load previously defined configuration properties file -->
<propertyfile="build.properties" />
<!-- include our custom macros -->
<includefile="build-common.xml" />
<!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project -->
<taskdefresource="flexTasks.tasks"classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
<!-- General tasks -->
<targetname="all"depends="clean,compile-10.2,compile-11.6"/>
<targetname="clean">
<deletedir="${DEPLOY_DIR}" />
</target>
<targetname="info">
<git-commit-idoutputproperty="scratchFlashCommitID"/>
<echomessage="scratchFlashCommitID = ${scratchFlashCommitID}"/>
</target>
<!-- Build for Flash Player 10.2 -->
<targetname="compile-10.2"depends="info">
<mxmlcfile="${SRC_DIR}/Scratch.as"output="${DEPLOY_DIR}/ScratchFor10.2.swf"
target-player="10.2"swf-version="11"debug="false">
<source-pathpath-element="${SRC_DIR}" />
<library-pathfile="${LIBS_DIR}/as3corelib.swc" />
<library-pathfile="${LIBS_DIR}/blooddy_crypto.swc" />
<library-pathfile="${FLEX_HOME}/frameworks/libs/framework.swc" />
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
<default-sizewidth="800"height="600" />
<definename="SCRATCH::allow3d"value="false" />
<definename="SCRATCH::revision"value="'${scratchFlashCommitID}'"/>
</mxmlc>
</target>
<!-- Build for Flash Player 11.6 -->
<targetname="compile-11.6"depends="info">
<mxmlcfile="${SRC_DIR}/Scratch.as"output="${DEPLOY_DIR}/Scratch.swf"
target-player="11.6"swf-version="19"debug="false">
<source-pathpath-element="${SRC_DIR}" />
<library-pathfile="${LIBS_DIR}/as3corelib.swc" />
<library-pathfile="${LIBS_DIR}/blooddy_crypto.swc" />
<library-pathfile="${FLEX_HOME}/frameworks/libs/framework.swc" />
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
<default-sizewidth="800"height="600" />
<definename="SCRATCH::allow3d"value="true" />
<definename="SCRATCH::revision"value="'${scratchFlashCommitID}'"/>
</mxmlc>
</target>
</project>