1 Star 5 Fork 2

鸽子/easy-scratch2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.xml 2.29 KB
一键复制 编辑 原始数据 按行查看 历史
鸽子 提交于 2020-01-16 16:09 . Scratch2.0 init
<?xml version="1.0" encoding="UTF-8"?>
<project name="Scratch for latest Flash Player" default="all">
<!-- load LOCAL configuration properties file -->
<property file="local.properties" />
<!-- load previously defined configuration properties file -->
<property file="build.properties" />
<!-- include our custom macros -->
<include file="build-common.xml" />
<!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project -->
<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
<!-- General tasks -->
<target name="all" depends="clean,compile-10.2,compile-11.6"/>
<target name="clean">
<delete dir="${DEPLOY_DIR}" />
</target>
<target name="info">
<git-commit-id outputproperty="scratchFlashCommitID"/>
<echo message="scratchFlashCommitID = ${scratchFlashCommitID}"/>
</target>
<!-- Build for Flash Player 10.2 -->
<target name="compile-10.2" depends="info">
<mxmlc file="${SRC_DIR}/Scratch.as" output="${DEPLOY_DIR}/ScratchFor10.2.swf"
target-player="10.2" swf-version="11" debug="false">
<source-path path-element="${SRC_DIR}" />
<library-path file="${LIBS_DIR}/as3corelib.swc" />
<library-path file="${LIBS_DIR}/blooddy_crypto.swc" />
<library-path file="${FLEX_HOME}/frameworks/libs/framework.swc" />
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
<default-size width="800" height="600" />
<define name="SCRATCH::allow3d" value="false" />
<define name="SCRATCH::revision" value="'${scratchFlashCommitID}'"/>
</mxmlc>
</target>
<!-- Build for Flash Player 11.6 -->
<target name="compile-11.6" depends="info">
<mxmlc file="${SRC_DIR}/Scratch.as" output="${DEPLOY_DIR}/Scratch.swf"
target-player="11.6" swf-version="19" debug="false">
<source-path path-element="${SRC_DIR}" />
<library-path file="${LIBS_DIR}/as3corelib.swc" />
<library-path file="${LIBS_DIR}/blooddy_crypto.swc" />
<library-path file="${FLEX_HOME}/frameworks/libs/framework.swc" />
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
<default-size width="800" height="600" />
<define name="SCRATCH::allow3d" value="true" />
<define name="SCRATCH::revision" value="'${scratchFlashCommitID}'"/>
</mxmlc>
</target>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
ActionScript
1
https://gitee.com/chengyu2333/scratch2.git
git@gitee.com:chengyu2333/scratch2.git
chengyu2333
scratch2
easy-scratch2
master

搜索帮助