浏览代码

Ignore additional vim temporary files, .a and .so files, games/ executables

RDR8 8 年之前
父节点
当前提交
3f3ee5e37f
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      .gitignore

+ 15 - 0
.gitignore

@@ -3,6 +3,8 @@
 
 # Ignore VIM's backup generated files
 *.swp
+*.swo
+*~
 
 # Ignore Android generated files and folders
 src_android/obj/
@@ -48,6 +50,8 @@ ipch/
 
 # Ignore compiled binaries
 *.o
+*.a
+*.so
 *.exe
 !tools/rREM/rrem.exe
 
@@ -62,6 +66,17 @@ examples/*
 # Unignore 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
 *.mode*v*
 *.pbxuser