我有這個項目叫做Foo具有以下結構,但是我應該從版本控制中排除哪些文件?我用FlashDevelop構建它。Flash/AS3項目中的版本控制需要保留哪些文件?
├── bin <-- already in
│ └── Foo.swf <-- .gitignore
├── css.xml
├── lib
│ └── as3corelib.swc
├── locales
│ ├── de_DE
│ │ └── ...
│ └── en_US
│ └── ...
├── obj <-- what
│ ├── FooConfig.old <-- about
│ └── FooConfig.xml <-- these?
├── src
│ ├── com
│ │ └── ...
│ └── printf.as
├── Foo.as3proj
└── Foo.report <-- and this one?
我注意到obj/
下的文件和文件report
通過每次構建改變。所以我想我可以排除他們?
Foo.report(10146個系)
<report>
<scripts>
<script name="/home/max/Projects/flash-compiler/apache-flex-sdk/frameworks/libs/framework.swc(mx.graphics:GradientStroke)" mod="1422002215000" size="3188" optimizedsize="1400">
<def id="mx.graphics:GradientStroke" />
<pre id="mx.graphics:GradientBase" />
<pre id="mx.graphics:IStroke" />
<dep id="flash.display:GraphicsGradientFill" />
<dep id="flash.display:Graphics" />
<dep id="flash.display:CapsStyle" />
<dep id="AS3" />
<dep id="flash.display:GraphicsStroke" />
<dep id="flash.geom:Rectangle" />
<dep id="mx.core:mx_internal" />
<dep id="flash.geom:Point" />
<dep id="flash.display:JointStyle" />
</script>
<!-- more scripts are following here -->
</scripts>
<external-defs>
<ext id="flash.events:AsyncErrorEvent" />
<ext id="RegExp" />
<!-- more exts are following here -->
</external-defs>
</report>
OBJ/FooConfig.old始於...
<?xml version="1.0" encoding="utf-8"?>
<!--This Adobe Flex compiler configuration file was generated by a tool.-->
<!--Any modifications you make may be lost.-->
<flex-config>
<target-player>11.2</target-player>
<benchmark>false</benchmark>
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
<compiler>
<define append="true">
<name>CONFIG::debug</name>
OBJ/FooConfig.xml開頭.. 。
<?xml version="1.0" encoding="utf-8"?>
<!--This Adobe Flex compiler configuration file was generated by a tool.-->
<!--Any modifications you make may be lost.-->
<flex-config>
<target-player>11.2</target-player>
<benchmark>false</benchmark>
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
<compiler>
<define append="true">
<name>CONFIG::debug</name>
我使用FlashDevelop,但我不知道'obj' /'FooConfig.old'和'FooConfig.xml'是什麼。 – Aaron 2015-02-10 15:45:09
@Aaron我添加了這些文件的第一行。 – dAnjou 2015-02-12 10:24:11