aboutsummaryrefslogtreecommitdiff
path: root/v1/combine-feature-fragments.py
diff options
context:
space:
mode:
Diffstat (limited to 'v1/combine-feature-fragments.py')
-rwxr-xr-xv1/combine-feature-fragments.py32
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}')