Skip to content

Commit 158d51b

Browse files
committed
fix tests
1 parent 5603d1e commit 158d51b

3 files changed

Lines changed: 2 additions & 95 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ Examples
168168
* `**/*.go`: all .go files recursively
169169
* `**/.git*`: ignore `.git` directory
170170
* `**/.git*/**`: ignore `.git` directory content
171+
* `**/.*`: ignore all hidden file
171172

172173
The below example ignores any file ending with `.go` or `.md` and anything in the `.git` directory,
173174
and the directory `.git` itself:

tests-ng/plist.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

tests-ng/test-index-ignores.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ echo "theext" > "${src}/file.ext"
4343
# index
4444
# ===================================================
4545
title ">>> indexing <<<"
46-
"${bin}" index -a -C -c "${catalog}" --debug --ignore='\.+' --ignore='\.ext' "${tmpd}/to-index" gocatcli
46+
"${bin}" index -a -C -c "${catalog}" --debug --ignore='**/.*' --ignore='**/*.ext' "${tmpd}/to-index" gocatcli
4747
[ ! -e "${catalog}" ] && echo "catalog not created" && exit 1
4848

4949
# ls

0 commit comments

Comments
 (0)