summaryrefslogtreecommitdiff
path: root/format-json/TARGETS.tasks
diff options
context:
space:
mode:
Diffstat (limited to 'format-json/TARGETS.tasks')
-rw-r--r--format-json/TARGETS.tasks16
1 files changed, 16 insertions, 0 deletions
diff --git a/format-json/TARGETS.tasks b/format-json/TARGETS.tasks
new file mode 100644
index 00000000..2eb54fb8
--- /dev/null
+++ b/format-json/TARGETS.tasks
@@ -0,0 +1,16 @@
+{ "ls":
+ { "type": "generic"
+ , "outs": ["json-files"]
+ , "cmds":
+ [ "find . '(' -name 'TARGETS*' -o -name RULES -o -name EXPRESSIONS ')' -type f > json-files"
+ ]
+ , "deps": [["TREE", null, "."]]
+ }
+, "targets":
+ { "type": "generic"
+ , "outs": ["TARGETS"]
+ , "cmds": ["python3 generate-fmt.py"]
+ , "deps": ["ls", ["@", "format", "", "generate-fmt.py"]]
+ }
+, "": {"type": "export", "target": "targets"}
+}