mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2026-01-09 02:38:19 -05:00
fix: git ignore for tests (#1349)
This commit is contained in:
13
.gitignore
vendored
13
.gitignore
vendored
@@ -18,9 +18,10 @@ nimble.develop
|
||||
nimble.paths
|
||||
go-libp2p-daemon/
|
||||
|
||||
# Ignore all test build files in tests folder (auto generated when running tests),
|
||||
# by ignoring anything that does not have following file name scheme:
|
||||
# has extension or is Dockerfile...
|
||||
/tests/*
|
||||
!/tests/*.*
|
||||
!/tests/Dockerfile
|
||||
# Ignore all test build files in tests folder (auto generated when running tests).
|
||||
# First rule (`tests/**/test*[^.]*`) will ignore all binaries: has prefix test + does not have dot in name.
|
||||
# Second and third rules are here to un-ignores all files with extension and Docker file,
|
||||
# because it appears that vs code is skipping text search is some tests files without these rules.
|
||||
tests/**/test*[^.]*
|
||||
!tests/**/*.*
|
||||
!tests/**/Dockerfile
|
||||
Reference in New Issue
Block a user