Skip to content

Commit ec2b967

Browse files
committed
· Added editorconfig, gitattributes and gitignore files
1 parent 76c8923 commit ec2b967

File tree

3 files changed

+136
-0
lines changed

3 files changed

+136
-0
lines changed

.editorconfig

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# EditorConfig is awesome:
2+
http://EditorConfig.org
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
# Default settings:
8+
# A newline ending every file
9+
# Use 4 spaces as indentation
10+
# Trim trailing whitespace
11+
[*]
12+
insert_final_newline = true
13+
indent_style = space
14+
indent_size = 4
15+
16+
[*.{asm,inc}]
17+
indent_size = 8
18+
19+
# Xml project files
20+
[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
21+
indent_size = 2
22+
23+
# Xml config files
24+
[*.{props,targets,config,nuspec}]
25+
indent_size = 2
26+
27+
[CMakeLists.txt]
28+
indent_size = 2
29+
30+
[*.cmd]
31+
indent_size = 2

.gitattributes

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
## https://raw.githubusercontent.com/dotnet/corefx/master/.gitattributes
2+
3+
###############################################################################
4+
# Set default behavior to automatically normalize line endings.
5+
###############################################################################
6+
* text=auto
7+
8+
###############################################################################
9+
# Set default behavior for command prompt diff.
10+
#
11+
# This is need for earlier builds of msysgit that does not have it on by
12+
# default for csharp files.
13+
# Note: This is only used by command line
14+
###############################################################################
15+
#*.cs diff=csharp
16+
17+
###############################################################################
18+
# Set the merge driver for project and solution files
19+
#
20+
# Merging from the command prompt will add diff markers to the files if there
21+
# are conflicts (Merging from VS is not affected by the settings below, in VS
22+
# the diff markers are never inserted). Diff markers may cause the following
23+
# file extensions to fail to load in VS. An alternative would be to treat
24+
# these files as binary and thus will always conflict and require user
25+
# intervention with every merge. To do so, just uncomment the entries below
26+
###############################################################################
27+
#*.sln merge=binary
28+
#*.csproj merge=binary
29+
#*.vbproj merge=binary
30+
#*.vcxproj merge=binary
31+
#*.vcproj merge=binary
32+
#*.dbproj merge=binary
33+
#*.fsproj merge=binary
34+
#*.lsproj merge=binary
35+
#*.wixproj merge=binary
36+
#*.modelproj merge=binary
37+
#*.sqlproj merge=binary
38+
#*.wwaproj merge=binary
39+
40+
###############################################################################
41+
# behavior for image files
42+
#
43+
# image files are treated as binary by default.
44+
###############################################################################
45+
#*.jpg binary
46+
#*.png binary
47+
#*.gif binary
48+
49+
###############################################################################
50+
# diff behavior for common document formats
51+
#
52+
# Convert binary document formats to text before diffing them. This feature
53+
# is only available from the command line. Turn it on by uncommenting the
54+
# entries below.
55+
###############################################################################
56+
#*.doc diff=astextplain
57+
#*.DOC diff=astextplain
58+
#*.docx diff=astextplain
59+
#*.DOCX diff=astextplain
60+
#*.dot diff=astextplain
61+
#*.DOT diff=astextplain
62+
#*.pdf diff=astextplain
63+
#*.PDF diff=astextplain
64+
#*.rtf diff=astextplain
65+
#*.RTF diff=astextplain

.gitignore

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Compiled Object files
2+
*.slo
3+
*.lo
4+
*.o
5+
*.obj
6+
7+
# Precompiled Headers
8+
*.gch
9+
*.pch
10+
11+
# Compiled Dynamic libraries
12+
*.so
13+
*.dylib
14+
*.dll
15+
16+
# Fortran module files
17+
*.mod
18+
19+
# Compiled Static libraries
20+
*.lai
21+
*.la
22+
*.a
23+
*.lib
24+
25+
# Executables
26+
*.exe
27+
*.out
28+
*.app
29+
30+
# Build Directories
31+
SceneR-build
32+
SceneR.Framework-build
33+
SceneR.Framework.Tests-build
34+
35+
# Cmake
36+
CMakeCache.txt
37+
CMakeFiles
38+
Makefile
39+
cmake_install.cmake
40+
install_manifest.txt

0 commit comments

Comments
 (0)