git: Update gitattributes and gitignore.

This commit is contained in:
littleguy77 2014-01-20 17:55:28 -05:00
parent 29b08b0838
commit 6a2065da01
2 changed files with 95 additions and 4 deletions

56
.gitattributes vendored Normal file
View File

@ -0,0 +1,56 @@
# keep EOL normalized
* text=auto
# use native line ending
*.6 text
AUTHORS text
*.c text
*.cc text
*.cfg text
*.cht text
*.conf text
COPYING text
*.cpp text
*.def text
*-license text
*.h text
*.html text
*.in text
INSTALL text
*.ini text
*.java text
LICENSES text
*.m text
Makefile text
*.md text
*.mk text
*.pl text
*.py text
README text
RELEASE text
*.rc text
*.S text
*.txt text
*.ucls text
*.ver text
*.xml text
# use linux line ending
*.sh text eol=lf
# windows specific text files
*.sln text eol=crlf
*.vcproj text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
# don't modify binary files
*.gif binary
*.gz binary
*.jar binary
*.jpg binary
*.pdf binary
*.png binary
*.zip binary
cursor.tex binary
font.tex binary

43
.gitignore vendored
View File

@ -1,6 +1,41 @@
# Generated and temporary files
bin/
gen/
obj/
tmp/
*~
*~.nib
*.a
*.ap_
*.apk
*.bak
*.class
*.d
*.dex
*.o
*.so
*.swp
*.tmp
# Package Files #
*.jar
*.war
*.ear
# Eclipse project files
.settings/
.externalToolBuilders/
proguard/
.buildpath
.classpath
.cproject
.loadpath
.metadata
.project
*.launch
*.pydevproject
local.properties
# Intellij project files
.idea/
*.iml
*.ipr
*.iws
# Crash-report related
crashreport.txt