浏览代码

Merge pull request #246 from RDR8/staging-linux-gitignore

staging-linux-gitignore
Ray 8 年之前
父节点
当前提交
6ba5217c28
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      .gitignore

+ 13 - 0
.gitignore

@@ -3,6 +3,8 @@
 
 
 # Ignore VIM's backup generated files
 # Ignore VIM's backup generated files
 *.swp
 *.swp
+*.swo
+*~
 
 
 # Ignore Android generated files and folders
 # Ignore Android generated files and folders
 src_android/obj/
 src_android/obj/
@@ -62,6 +64,17 @@ examples/*
 # Unignore examples Makefile
 # Unignore examples Makefile
 !examples/Makefile
 !examples/Makefile
 
 
+# Ignore all games files
+games/*
+# Unignore all games dirs
+!games/*/
+# Unignore all games files with extension
+!games/*.c
+!games/*.lua
+!games/*.png
+# Unignore games makefile
+!games/makefile
+
 # Ignore files build by xcode
 # Ignore files build by xcode
 *.mode*v*
 *.mode*v*
 *.pbxuser
 *.pbxuser