Browse Source

gitignore example executables on Linux and OSX (#374)

Lieven Petersen 1 year ago
parent
commit
16088b51d1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      .gitignore

+ 7 - 0
.gitignore

@@ -28,6 +28,13 @@
 *.x86_64
 *.x86_64
 *.hex
 *.hex
 
 
+# Executables in examples (for Linux and OSX)
+# ignore all files in specific example directories
+examples/*/*
+# except for sub-directories and filenames containing a '.'
+!examples/*/*/
+!examples/*/*.*
+
 # Debug files
 # Debug files
 *.dSYM/
 *.dSYM/
 *.su
 *.su