Skip to content

Commit 53c7194

Browse files
committed
Install .gitignore'd files
1 parent 7f8a5fb commit 53c7194

File tree

8 files changed

+184
-0
lines changed

8 files changed

+184
-0
lines changed

.gitattributes

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
* text=auto
2+
3+
*.txt text
4+
*.c text
5+
*.cpp text
6+
*.h text
7+
*.hpp text
8+
*.inl text
9+
*.adoc text
10+
*.in text
11+
*.json text
12+
13+
*.bat eol=crlf
14+
*.cmd eol=crlf
15+
*.vcproj eol=crlf
16+
*.vcxproj eol=crlf
17+
*.sln eol=crlf
18+
19+
*.sh eol=lf
20+
21+
*.png binary
22+
23+
# Shell scripts that don't end in .sh
24+
specification/makeAllExts eol=lf
25+
specification/makeExt eol=lf
26+
specification/makeKHR eol=lf
27+
specification/makeKHRAndKHX eol=lf
28+
specification/makeReleaseArtifacts eol=lf
29+
specification/checkMarkup eol=lf
30+
specification/checkSpecLinks eol=lf

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/build
2+
CMakeLists.txt.user
3+
*.orig
4+
.*
5+
*~
6+
*.tar.gz
7+
8+
# Cached python scripts in bytecode form
9+
*.pyc
10+
applyfixes.sh
11+
12+
# Files related to building examples
13+
specification/**/*.c
14+
specification/**/*.cpp
15+
specification/**/*.o
16+
specification/examples.mk
17+
18+
# Files related to pytest
19+
specification/scripts/.cache

specification/.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
scripts/__pycache__
2+
scripts/xrapi.py
3+
out/*
4+
generated/*
5+
sources/chapters/extensions/meta/*
6+
example-builds/generated/
7+
man/*
8+
artifacts/
9+
temp/
10+
diffs/
11+
12+
# Artifacts from converting/checking RELAX-NG Compact schema.
13+
registry/registry.rng
14+
registry/regenerated.rnc

src/.clang-format

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
# Use defaults from the Google style with the following exceptions:
3+
BasedOnStyle: Google
4+
IndentWidth: 4
5+
ColumnLimit: 132
6+
SortIncludes: false
7+
...

src/external/jsoncpp/.clang-format

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
# BasedOnStyle: LLVM
3+
AccessModifierOffset: -2
4+
ConstructorInitializerIndentWidth: 4
5+
AlignEscapedNewlinesLeft: false
6+
AlignTrailingComments: true
7+
AllowAllParametersOfDeclarationOnNextLine: true
8+
AllowShortIfStatementsOnASingleLine: false
9+
AllowShortLoopsOnASingleLine: false
10+
AlwaysBreakTemplateDeclarations: false
11+
AlwaysBreakBeforeMultilineStrings: false
12+
BreakBeforeBinaryOperators: false
13+
BreakBeforeTernaryOperators: true
14+
BreakConstructorInitializersBeforeComma: false
15+
BinPackParameters: false
16+
ColumnLimit: 80
17+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
18+
DerivePointerBinding: false
19+
ExperimentalAutoDetectBinPacking: false
20+
IndentCaseLabels: false
21+
MaxEmptyLinesToKeep: 1
22+
NamespaceIndentation: None
23+
ObjCSpaceBeforeProtocolList: true
24+
PenaltyBreakBeforeFirstCallParameter: 19
25+
PenaltyBreakComment: 60
26+
PenaltyBreakString: 1000
27+
PenaltyBreakFirstLessLess: 120
28+
PenaltyExcessCharacter: 1000000
29+
PenaltyReturnTypeOnItsOwnLine: 60
30+
PointerBindsToType: true
31+
SpacesBeforeTrailingComments: 1
32+
Cpp11BracedListStyle: false
33+
Standard: Cpp03
34+
IndentWidth: 2
35+
TabWidth: 8
36+
UseTab: Never
37+
BreakBeforeBraces: Attach
38+
IndentFunctionDeclarationAfterType: false
39+
SpacesInParentheses: false
40+
SpacesInAngles: false
41+
SpaceInEmptyParentheses: false
42+
SpacesInCStyleCastParentheses: false
43+
SpaceAfterControlStatementKeyword: true
44+
SpaceBeforeAssignmentOperators: true
45+
ContinuationIndentWidth: 4
46+
...
47+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
* text=auto
2+
*.h text
3+
*.cpp text
4+
*.json text
5+
*.in text
6+
*.sh eol=lf
7+
*.bat eol=crlf
8+
*.vcproj eol=crlf
9+
*.vcxproj eol=crlf
10+
*.sln eol=crlf
11+
devtools/agent_vm* eol=crlf

src/external/jsoncpp/.gitignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/build/
2+
*.pyc
3+
*.swp
4+
*.actual
5+
*.actual-rewrite
6+
*.process-output
7+
*.rewrite
8+
/bin/
9+
/buildscons/
10+
/libs/
11+
/doc/doxyfile
12+
/dist/
13+
#/version
14+
#/include/json/version.h
15+
16+
# MSVC project files:
17+
*.sln
18+
*.vcxproj
19+
*.filters
20+
*.user
21+
*.sdf
22+
*.opensdf
23+
*.suo
24+
25+
# MSVC build files:
26+
*.lib
27+
*.obj
28+
*.tlog/
29+
*.pdb
30+
31+
# CMake-generated files:
32+
CMakeFiles/
33+
*.cmake
34+
pkg-config/jsoncpp.pc
35+
jsoncpp_lib_static.dir/
36+
37+
# In case someone runs cmake in the root-dir:
38+
/CMakeCache.txt
39+
/Makefile
40+
/include/Makefile
41+
/src/Makefile
42+
/src/jsontestrunner/Makefile
43+
/src/jsontestrunner/jsontestrunner_exe
44+
/src/lib_json/Makefile
45+
/src/test_lib_json/Makefile
46+
/src/test_lib_json/jsoncpp_test
47+
*.a
48+
49+
# eclipse project files
50+
.project
51+
.cproject
52+
/.settings/

src/scripts/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.sln
2+
*.pyproj
3+
*.cpp
4+
*.hpp

0 commit comments

Comments
 (0)