Skip to content

Commit 57aacce

Browse files
committed
- Adding files to ignore from C C++ and Visual Studio
- Making result files to be ended by LF to avoid test failures
1 parent eb2f763 commit 57aacce

File tree

2 files changed

+253
-0
lines changed

2 files changed

+253
-0
lines changed

.gitattributes

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.cc text
8+
*.cpp text
9+
*.h text
10+
*.test text
11+
12+
# Declare files that will always have LF line endings on checkout.
13+
*.result text eol=lf
14+
storage/connect/mysql-test/connect/std_data/*.txt text eol=lf
15+
storage/connect/mysql-test/connect/std_data/*.dat text eol=lf
16+
17+
# Denote all files that are truly binary and should not be modified.
18+
*.png binary
19+
*.jpg binary
20+
121
*.c diff=cpp
222
*.h diff=cpp
323
*.cc diff=cpp

.gitignore

Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Edited by Olivier Bertrand
12
*-t
23
*.a
34
*.ctest
@@ -7,6 +8,8 @@
78
*.so.*
89
*.spec
910
*~
11+
*.bak
12+
*.log
1013
.*.swp
1114
*.ninja
1215
.ninja_*
@@ -15,6 +18,9 @@ errmsg.sys
1518
typescript
1619
CMakeCache.txt
1720
CMakeFiles/
21+
MakeFile
22+
cmake_install.cmake
23+
install_manifest.txt
1824
CPackConfig.cmake
1925
CPackSourceConfig.cmake
2026
CTestTestfile.cmake
@@ -230,3 +236,230 @@ storage/mroonga/vendor/groonga/src/grnslap
230236
storage/mroonga/vendor/groonga/src/groonga
231237
storage/mroonga/vendor/groonga/src/groonga-benchmark
232238
storage/mroonga/vendor/groonga/src/suggest/groonga-suggest-create-dataset
239+
# C and C++
240+
241+
# Compiled Object files
242+
*.slo
243+
*.lo
244+
*.o
245+
*.ko
246+
*.obj
247+
*.elf
248+
249+
# Precompiled Headers
250+
*.gch
251+
*.pch
252+
253+
# Compiled Static libraries
254+
*.lib
255+
*.a
256+
*.la
257+
*.lai
258+
*.lo
259+
260+
# Compiled Dynamic libraries
261+
*.so
262+
*.so.*
263+
*.dylib
264+
*.dll
265+
266+
# Executables
267+
*.exe
268+
*.out
269+
*.app
270+
*.i*86
271+
*.x86_64
272+
*.hex
273+
274+
275+
## Ignore Visual Studio temporary files, build results, and
276+
## files generated by popular Visual Studio add-ons.
277+
278+
# User-specific files
279+
*.suo
280+
*.user
281+
*.userosscache
282+
*.sln.docstates
283+
*.ncb
284+
*.sln
285+
286+
*.vcproj
287+
*.vcproj.*
288+
*.vcproj.*.*
289+
*.vcproj.*.*.*
290+
291+
# Build results
292+
[Dd]ebug/
293+
[Dd]ebugPublic/
294+
[Rr]elease/
295+
[Rr]eleases/
296+
x64/
297+
x86/
298+
build/
299+
bld/
300+
[Bb]in/
301+
[Oo]bj/
302+
303+
# Roslyn cache directories
304+
*.ide/
305+
306+
# MSTest test Results
307+
[Tt]est[Rr]esult*/
308+
[Bb]uild[Ll]og.*
309+
310+
#NUNIT
311+
*.VisualState.xml
312+
TestResult.xml
313+
314+
# Build Results of an ATL Project
315+
[Dd]ebugPS/
316+
[Rr]eleasePS/
317+
dlldata.c
318+
319+
*_i.c
320+
*_p.c
321+
*_i.h
322+
*.ilk
323+
*.meta
324+
*.obj
325+
*.pch
326+
*.pdb
327+
*.pgc
328+
*.pgd
329+
*.rsp
330+
*.sbr
331+
*.tlb
332+
*.tli
333+
*.tlh
334+
*.tmp
335+
*.tmp_proj
336+
*.log
337+
*.vspscc
338+
*.vssscc
339+
.builds
340+
*.pidb
341+
*.svclog
342+
*.scc
343+
344+
# Chutzpah Test files
345+
_Chutzpah*
346+
347+
# Visual C++ cache files
348+
ipch/
349+
*.aps
350+
*.ncb
351+
*.opensdf
352+
*.sdf
353+
*.cachefile
354+
355+
# Visual Studio profiler
356+
*.psess
357+
*.vsp
358+
*.vspx
359+
360+
# TFS 2012 Local Workspace
361+
$tf/
362+
363+
# Guidance Automation Toolkit
364+
*.gpState
365+
366+
# ReSharper is a .NET coding add-in
367+
_ReSharper*/
368+
*.[Rr]e[Ss]harper
369+
*.DotSettings.user
370+
371+
# JustCode is a .NET coding addin-in
372+
.JustCode
373+
374+
# TeamCity is a build add-in
375+
_TeamCity*
376+
377+
# DotCover is a Code Coverage Tool
378+
*.dotCover
379+
380+
# NCrunch
381+
_NCrunch_*
382+
.*crunch*.local.xml
383+
384+
# MightyMoose
385+
*.mm.*
386+
AutoTest.Net/
387+
388+
# Web workbench (sass)
389+
.sass-cache/
390+
391+
# Installshield output folder
392+
[Ee]xpress/
393+
394+
# DocProject is a documentation generator add-in
395+
DocProject/buildhelp/
396+
DocProject/Help/*.HxT
397+
DocProject/Help/*.HxC
398+
DocProject/Help/*.hhc
399+
DocProject/Help/*.hhk
400+
DocProject/Help/*.hhp
401+
DocProject/Help/Html2
402+
DocProject/Help/html
403+
404+
# Click-Once directory
405+
publish/
406+
407+
# Publish Web Output
408+
*.[Pp]ublish.xml
409+
*.azurePubxml
410+
# TODO: Comment the next line if you want to checkin your web deploy settings
411+
# but database connection strings (with potential passwords) will be unencrypted
412+
*.pubxml
413+
*.publishproj
414+
415+
# NuGet Packages
416+
*.nupkg
417+
# The packages folder can be ignored because of Package Restore
418+
**/packages/*
419+
# except build/, which is used as an MSBuild target.
420+
!**/packages/build/
421+
# If using the old MSBuild-Integrated Package Restore, uncomment this:
422+
#!**/packages/repositories.config
423+
424+
# Windows Azure Build Output
425+
csx/
426+
*.build.csdef
427+
428+
# Windows Store app package directory
429+
AppPackages/
430+
431+
# Others
432+
# sql/
433+
*.Cache
434+
ClientBin/
435+
[Ss]tyle[Cc]op.*
436+
~$*
437+
*~
438+
*.dbmdl
439+
*.dbproj.schemaview
440+
*.pfx
441+
*.publishsettings
442+
node_modules/
443+
444+
# RIA/Silverlight projects
445+
Generated_Code/
446+
447+
# Backup & report files from converting an old project file
448+
# to a newer Visual Studio version. Backup files are not needed,
449+
# because we have git ;-)
450+
_UpgradeReport_Files/
451+
Backup*/
452+
UpgradeLog*.XML
453+
UpgradeLog*.htm
454+
455+
# SQL Server files
456+
*.mdf
457+
*.ldf
458+
459+
# Business Intelligence projects
460+
*.rdl.data
461+
*.bim.layout
462+
*.bim_*.settings
463+
464+
# Microsoft Fakes
465+
FakesAssemblies/

0 commit comments

Comments
 (0)