diff options
author | Rory Bradford <roryrjb@gmail.com> | 2020-04-10 11:34:57 +0100 |
---|---|---|
committer | Rory Bradford <roryrjb@gmail.com> | 2020-04-10 11:34:57 +0100 |
commit | 1cc76724bed0180355e53d705bb9ec30928a71ac (patch) | |
tree | 7ccf9e253c69a844995e3a0572120fc824fcc9dc /config.h | |
parent | 8af4130a8927f0f4aaab208769b93da1ef0c32f8 (diff) | |
download | rf-1cc76724bed0180355e53d705bb9ec30928a71ac.tar.gz |
Refactor
Implement `fnmatch` file name matching. Define clang formatting, previously used defaults without a config file; apply formatting. Make `install` more cross-platform. Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/config.h b/config.h index 009908c..3a37f96 100644 --- a/config.h +++ b/config.h @@ -1,11 +1,10 @@ -char *ignored_dirs[] = { "node_modules", ".mypy_cache", ".git", - ".hg", "__pycache__", ".eggs" }; +char *ignored_dirs[] = {"*node_modules*", "*.mypy_cache*", "*.git*", "*.hg*", + "*__pycache__*", "*.eggs*"}; size_t ignored_dirs_size = sizeof(ignored_dirs) / sizeof(ignored_dirs[0]); -char *ignored_extensions[] = { ".pyc", ".jpg", ".jpeg", ".png", ".gif", - ".zip", ".tar", ".xz", ".gz", ".gzip", - ".jar", ".apk", ".deb", ".o" }; +char *ignored_extensions[] = {".pyc", ".jpg", ".jpeg", ".png", ".gif", ".zip", + ".tar", ".xz", ".gz", ".gzip", ".jar", ".apk", ".deb", ".o"}; size_t ignored_extensions_size = sizeof(ignored_extensions) / sizeof(ignored_extensions[0]); |