From a6f62055835c5c3f9546818fbbcd43c73baef57f Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 6 Aug 2021 15:49:26 +0100 Subject: Implement compile_commands.json generation --- compile_commands.json.do | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 compile_commands.json.do (limited to 'compile_commands.json.do') diff --git a/compile_commands.json.do b/compile_commands.json.do new file mode 100755 index 0000000..f01e0fa --- /dev/null +++ b/compile_commands.json.do @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -e +cmds=(common.cmd ieee754b.cmd pack.cmd test.cmd test_gen.cmd trace.cmd unpack.cmd) +redo-ifchange "${cmds[@]}" +cat "${cmds[@]}" | jq -s >"$3" -- cgit v1.2.3-54-g00ecf