diff options
author | CptAlanSmith <123112708+CptAlanSmith@users.noreply.github.com> | 2023-09-24 12:05:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 12:05:36 +0200 |
commit | a579fa30b9faced48499028f32e3ae53d7eeb142 (patch) | |
tree | d1e99c1e2ea0765d7c721851b89b8c9ef0c90af8 /scripts/build/glob_recursive.py | |
parent | 0b4c30aa02c3ec1dacfc3ac190af4733531753ea (diff) | |
parent | cc3ced120cdb83b144f9c19d338cb354d15442e8 (diff) |
Merge pull request #158 from Spartan322/outsource/extras
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 |