forked from defold/doc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cn update corresponds to [pull 259](defold#259)
- Loading branch information
1 parent
4d8ce40
commit de7c130
Showing
5 changed files
with
85 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Defold 项目忽略文件 | ||
brief: 本教程介绍了 Defold 中如何忽略文件和目录. | ||
--- | ||
|
||
# 忽略文件 | ||
|
||
可以在 Defold 编辑器和工具中忽略项目的文件和文件夹. 当 Defold 自用文件的扩展名与项目文件的扩展名冲突时这会很有用. 比如编辑器使用的游戏对象文件就可能与项目扩展库里的 Go 语言的 .go 文件相冲突. | ||
|
||
## 忽略定义 .defignore 文件 | ||
需要被忽略的文件和文件夹被定义在项目根目录的一个 `.defignore` 的文件中. 文件中包含被忽略的文件和路径, 一行定义一个. 比如: | ||
|
||
``` | ||
/path/to/file.png | ||
/otherpath | ||
``` | ||
|
||
这样就会忽略 `/path/to/file.png` 文件和路径 `/otherpath` 下的所有文件. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters