diff options
author | Josh Spicer <joshspicer@github.com> | 2022-08-03 21:09:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 21:09:28 +0300 |
commit | 145f26f8b27ed61667c759d3eebad71778773d78 (patch) | |
tree | 26d22d9c36943847bc1393eba4c1ce025238328d /v1/combine-feature-fragments.py | |
parent | 73db1be5838cc7b71e083819cb50c25b210a6bdc (diff) |
remove unused dirs (#76)
Diffstat (limited to 'v1/combine-feature-fragments.py')
-rwxr-xr-x | v1/combine-feature-fragments.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/v1/combine-feature-fragments.py b/v1/combine-feature-fragments.py deleted file mode 100755 index 39bc8d0..0000000 --- a/v1/combine-feature-fragments.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python3 - -# Run from repo root. - -import os - -featureDirs = os.listdir('./src') - -beginning = """ -{ - "features": [ -""" - -middle = "" - -end = """ - ] -} -""" - -count = len(featureDirs) - -for fDir in featureDirs: - count -= 1 - config = f'./src/{fDir}/feature.json' - data = open(config, "r").read() - middle += f'{data}' - if count != 0: - middle += ',' - middle += '\n' - -print(f'{beginning}{middle}{end}') |