diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-09-23 01:58:11 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-09-23 04:12:25 +0200 |
commit | 348668afee5bfbbc376d0615b51dca210213c1ec (patch) | |
tree | 6b3cbbc9f6d5e793d6c337023e95d94105ca888f /scripts/build/glob_recursive.py | |
parent | 977661f6f4301be19fa64abfc6cda5040c3899b1 (diff) |
Move actions and scripts to separate reusable repos
Diffstat (limited to 'scripts/build/glob_recursive.py')
-rw-r--r-- | scripts/build/glob_recursive.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/build/glob_recursive.py b/scripts/build/glob_recursive.py deleted file mode 100644 index db6eb80..0000000 --- a/scripts/build/glob_recursive.py +++ /dev/null @@ -1,15 +0,0 @@ -def GlobRecursive(pattern, nodes=['.']): - import SCons - import glob - fs = SCons.Node.FS.get_default_fs() - Glob = fs.Glob - - results = [] - for node in nodes: - nnodes = [] - for f in Glob(str(node) + '/*', source=True): - if type(f) is SCons.Node.FS.Dir: - nnodes.append(f) - results += GlobRecursive(pattern, nnodes) - results += Glob(str(node) + '/' + pattern, source=True) - return results |