aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/generate_map.sh
diff options
context:
space:
mode:
Diffstat (limited to 'std/generate_map.sh')
-rwxr-xr-xstd/generate_map.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/generate_map.sh b/std/generate_map.sh
index 42e3127..193a62b 100755
--- a/std/generate_map.sh
+++ b/std/generate_map.sh
@@ -2,6 +2,7 @@
FILES="$(find * -type f -name "*.bruijn" ! -name "All.bruijn" ! -path "*Generic*")"
+# TODO: also handle imports for :input intelligence
list_defs() {
grep -Po "^[^:# \t][^ \t]*" "$1" | sed -e "s#\\(.*\\)#{\"name\": \"\\1\", \"source\": \"$1\"}#g"
inputs="$(awk '/^:input/ {print $2}' "$1")"