mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
tools: let v check-md .
skip .md files located in /testdata/ folders (enable passing v test-all
, when the burntsushi TOML tests are downloaded/present)
This commit is contained in:
parent
861adfcc65
commit
3bf8f4232a
@ -103,7 +103,7 @@ fn md_file_paths(dir string) []string {
|
||||
md_files := os.walk_ext(dir, '.md')
|
||||
for file in md_files {
|
||||
nfile := file.replace('\\', '/')
|
||||
if nfile.contains_any_substr(['/thirdparty/', 'CHANGELOG']) {
|
||||
if nfile.contains_any_substr(['/thirdparty/', 'CHANGELOG', '/testdata/']) {
|
||||
continue
|
||||
}
|
||||
files_to_check << file
|
||||
|
Loading…
x
Reference in New Issue
Block a user