gitignore: fine-tune for specific subdirs

* allow `.pdb` and `.pot` files in `tests` subdir
* allow `include/` directories for subdirs with C/C++ files
* allow any kind of .template files `tools/autotune_grid`
This commit is contained in:
Tiziano Müller 2018-10-17 10:18:41 +02:00 committed by Ole Schütt
parent 7ffadfea7b
commit b53e4d50ad
5 changed files with 8 additions and 0 deletions

1
src/acc/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
!/include/

3
tests/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
# Allow potential and PDB files here
!*.pdb
!*.pot

2
tools/autotune_grid/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
# Include all template files, even the ones matching other ignore patterns
!*.template

1
tools/mic/libxstream/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
!/include/

View file

@ -1,2 +1,3 @@
/install/
/build/
!/scripts/