diff options
author | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-11 11:56:50 +0900 |
---|---|---|
committer | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-11 11:59:19 +0900 |
commit | 0daac1fbbb82ced82786bbdee2e716a38a16762b (patch) | |
tree | 93b9ad0c61a91fd679906d9bdcc1314d132195c6 /func.go | |
parent | b6ad7da06edc1b6c9c76f12dc2896a3458f9edd5 (diff) | |
download | android_build_kati-0daac1fbbb82ced82786bbdee2e716a38a16762b.tar.gz android_build_kati-0daac1fbbb82ced82786bbdee2e716a38a16762b.tar.bz2 android_build_kati-0daac1fbbb82ced82786bbdee2e716a38a16762b.zip |
add -find_cache_prunes
specify prune directories, space spapated.
imply -use_find_cache true if -find_cache_prunes given.
e.g.
kati -find_cache_prunes=".repo .git"
Diffstat (limited to 'func.go')
-rw-r--r-- | func.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -771,14 +771,14 @@ func (f *funcShell) Compact() Value { } } if dir, ok := matchAndroidFindFileInDir(expr); ok { - androidFindCache.init() + androidFindCache.init(nil) return &funcShellAndroidFindFileInDir{ funcShell: f, dir: dir, } } if chdir, roots, ok := matchAndroidFindJavaInDir(expr); ok { - androidFindCache.init() + androidFindCache.init(nil) return &funcShellAndroidFindJavaInDir{ funcShell: f, chdir: chdir, @@ -786,7 +786,7 @@ func (f *funcShell) Compact() Value { } } if dir, ok := matchAndroidFindJavaResourceFileGroup(expr); ok { - androidFindCache.init() + androidFindCache.init(nil) return &funcShellAndroidFindJavaResourceFileGroup{ funcShell: f, dir: dir, |